This seems to work to list all locations. Again, I'm sure there's a better way, but this generated a list for me.
string [string,string] loc;
file_to_map("adventures.txt",loc);
foreach x in loc
{
foreach y in loc[x]
{
// loc[x,y] == name of location, so you could to_location( loc[x,y] )...