Took out parts of code that were directly interacting with XML. Just want code to pull and to file write without interacting with data