added gzip compression flag to import