def isfile(path, message):
if not os.path.isfile(path):<EOL><INDENT>raise FileNotFoundError(<EOL>errno.ENOENT,<EOL>"<STR_LIT>".format(message, os.strerror(errno.ENOENT)), path)<EOL><DEDENT>
Raise an exception if the given file does not exist.

:param path: The path to a file to be tested
:param message: A custom message to report in the exception

:raises: FileNotFoundError