clean XML files