code: def delete_file_if_exists(fn):
      try:
          os.remove(fn)
      except OSError:
          pass
  
file_path: tensorpack/tensorpack/dataflow/serialize_test.py
imports: import tempfile
  import numpy
  import os
  import unittest
  from tensorpack.dataflow import HDF5Serializer, LMDBSerializer, NumpySerializer, TFRecordSerializer
  from tensorpack.dataflow.base import DataFlow
label_desc: Use image node_id 1 for calling a global function with example usage: delete_file_if_exists(fn) without return types