added import for gzip