added XML compression support for external files