added gzip option for source data