Read the XML files into text locations.

Now with tests!