def fileExists(file_path):
    """
        Method:
            A more secure way to know if a file exists or not.
        Arguments:
            file_path (str): path to the file to verify.
        Return:
            (bool): True if the file exists : False if the file doesn't exists.
    """
    try:
        with open(file_path):  # try to open the file
            pass
    except IOError:
        return False
    else:
        return True