Lock of reading gzipped files