code: def unzip_context(filename):
      """Context manager for decompressing a .bz2 file on the fly.
  
      Uses `unzip_file`. Removes the uncompressed file on exit of the context manager.
  
      Returns: the filename of the uncompressed file or of the original file if it was not
      compressed.
  
      """
      unzipped = unzip_file(filename)
      if unzipped is not None:
          yield unzipped
          os.remove(unzipped)
      else:
          yield filename
  
imports: from __future__ import annotations
  import bz2
  import logging
  import os
  import shutil
  import tempfile
  import warnings
  from contextlib import closing, contextmanager
  from io import BytesIO
  from shutil import which
  from subprocess import PIPE, Popen
  import numpy
  import pyproj
  import xarray
  from pyresample.geometry import AreaDefinition
  from satpy import config
  from satpy.readers import FSFile
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 16 for calling a global function with example usage: unzip_context(filename) without return types