adding saveUploadedXmlFile method