Added support for gzip