with gzip.GzipFile(fileobj=f, mode='rb') as gz:

                het_set = set()

                line = gz.readline().decode('utf-8').strip()