code: def top_level(url, data):
      """Read top level names from compressed file."""
      sb = io.BytesIO(data)
      txt = None
      with Archive(url, sb) as archive:
          file = None
          for name in archive.names:
              if name.lower().endswith("top_level.txt"):
                  file = name
                  break
          if file:
              txt = archive.read(file).decode("utf-8")
      sb.close()
      return (
          [name.replace("/", ".") for name in txt.splitlines()]
          if txt
          else []
      )
  
imports: from __future__ import print_function, division, absolute_import
  import tarfile
  import zipfile
  import re
  import string
  import io
label_desc: Use image node_id 1 for calling a global function with example usage: top_level(url, data) and returns: unknown