clean up xml resources file