<human>:  What is a good Python program to check the file exists and delete it.
<bot>: Here is a Python program to check the file exists and delete it

import os

def check_file_exists(file_name):
  """Check if the file exists and delete it if it does."""
  if os.path.isfile(file_name):
    os.remove(file_name)

# Enter the file name
file_name = "file_name"

# Calling the function
print((check_file_exists(file_name)))

#Example Output
# None

#Remember to inspect code for bugs.