Support for zipped xml file

Will automatically detect if the file is zipped or not