changed so that file opens gzip