Better error handling and debugging to understand why the xml file is not there