Generalized support for gzipped files