import glob


def find_file(filename):
    """
    This helper function checks whether the file exists or not
    """
    file_list = list(glob.glob("*.txt"))
    if filename in file_list:
        return True
    else:
        return False