Load and save a xml file