keeps only one copy of xml file, not multiple.