Added prompts for repairing corrupt XML file