Takes an XML file and exports the Object it holds