Saves XML data to file and parses it with separate class (XMLParser)