now takes in an XML file as input and exports a CSV file for each station