code: def close_listing_file():
      global listing_file
      if listing_file:
          listing_file.close()
          listing_file = None
  
imports: from __future__ import absolute_import
  import sys
  from contextlib import contextmanager
  from ..Utils import open_new_file
  from .None import DebugFlags
  from .None import Options
label_desc: Use image node_id 5 for calling a global function with example usage: close_listing_file() without return types