def ExistingFile(fname):
if os.path.isfile(fname):<EOL><INDENT>return fname<EOL><DEDENT>else:<EOL><INDENT>raise ValueError("<STR_LIT>" % fname)<EOL><DEDENT>
If *fname* is name of an existing file return it, otherwise an error.