code: def remove_file(f):
      try:
          if os.path.exists(f):
              os.remove(f)
      except Exception as ex:
          print(ex)
  
imports: import logging
  import os
  import shutil
label_desc: Use image node_id 1 for calling a global function with example usage: remove_file(f) without return types