Checking for the XML file actually works now