Parser takes an XML file as an argument