adding gzip capability for input file