reimaging xml files