I have a database of all US states and cities and it is plug and play for any directory format. PM me if interested.
You can download data related to world cities for free from... http://www.world-gazetteer.com/ I'll be working with the data myself shortly so PM me if you need help... bg