This is a complex task, especially if you want to use an external data source. It would require the development of a custom-made script.

If you're interested I could explain what would be involved in developing this script, or I could just create it for you (for a fee). If you're interested in the latter you can contact me at try6767 at gmail.com to discuss it further.

At this point I'd rather not incur any costs and figure it out myself, with some help of course I would be interested in the steps involved. I don't think reading from an external source is necessary and in fact would prefer manually coding everything to contain in a single file.