using faster method to open gzipped files