Parse the list of markets in the file.