Human: Give me a Python program to check to see if a file exists in the system. Assistant: 
Here is a Python program to check to see if a file exists in the system

import os

def file_exists(filename):
    """Check to see if a file exists."""
    return os.path.isfile(filename)

# Enter the filename
filename = '/Users/
Rosey/Desktop/file.txt'

# Calling the function
print((file_exists(filename)))

#Example Output
# False

#Remember to inspect code for bugs.