<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_valid_file(parser,arg):
 	"""verify the validity of the given file. Never trust the End-User"""

	if not os.path.exists(arg):
       		parser.error("File %s not found"%arg)
	else:
	       	return arg