code: def _unpack_tarfile_to(filename, subdir):
      """Unpack content of tarfile in filename to subdir."""
      with tarfile.open(filename, mode="r:gz") as tf:
          contents = tf.getnames()
          tf.extractall(path=subdir)  # nosec
      return contents
  
file_path: satpy/satpy/demo/fci.py
imports: import pathlib
  import tarfile
  import tempfile
  from satpy import config
  from .None import utils
label_desc: Use image node_id 3 for calling a global function with example usage: _unpack_tarfile_to(filename, subdir) and returns: contents