code: def remove_file_safe(path):
      """
      Remove file safely
      """
      try:
          if path and os.path.isfile(os.path.abspath(path)):
              os.remove(path)
      except Exception as e:
          logger.exception(e)
  
imports: import os
  import re
  import cv2
  import pytest
  import logging
  import platform
  import tempfile
  import subprocess
  from six import string_types
  from deffcode import FFdecoder
  from vidgear.gears import WriteGear
  from vidgear.gears.helper import check_output, logger_handler
label_desc: Use image node_id 3 for calling a global function with example usage: remove_file_safe(path) without return types