Xml file is not created