code: def read_tz_file(tar: tarfile.TarFile, name: str) -> bytes:
      start = tar.getnames()[0] + "/"
      inner_file = tar.extractfile(tar.getmember(f"{start}{name}"))
      assert inner_file
      with contextlib.closing(inner_file) as f:
          return f.read()
  
file_path: coremltools/deps/pybind11/tests/extra_python_package/test_files.py
imports: import contextlib
  import os
  import string
  import subprocess
  import sys
  import tarfile
  import zipfile
label_desc: Use image node_id 1 for calling a global function with example usage: read_tz_file(tar, name) and returns: f