fixes to txt and xml files