Modify to read gzip file