code: def safe_delete(filename):
      cmd = 'mv "%s" "%s.delete" && rm "%s.delete"' % (
          filename,
          filename,
          filename,
      )
      fail = os.system(cmd)
      return not fail
  
file_path: auptimizer/src/aup/Proposer/spearmint/Locker.py
imports: import os
  import sys
  import time
label_desc: Use image node_id 1 for calling a global function with example usage: safe_delete(filename) and returns: unknown