Passes data from locations.txt to the page to be rendered.