human
check the file existing and delete in.
assistant
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.