docs: def is_gzip_file(abspath):
      """Parse file extension.
  
      - *.json: uncompressed, utf-8 encode json file
      - *.gz: compressed, utf-8 encode json file
      """
      abspath = abspath.lower()
      _, ext = os.path.splitext(abspath)
      if ext in [".gz", ".zip"]:
          is_gzip = True
      else:
          is_gzip = False
      return is_gzip