def findFile(self, fname, numtype):
numType=numtype.upper()<EOL>if numType == '<STR_LIT>':<EOL><INDENT>return fname<EOL><DEDENT>elif numType == '<STR_LIT>':<EOL><INDENT>try:<EOL><INDENT>fname = int(fname)<EOL><DEDENT>except ValueError:<EOL><INDENT>print('<STR_LIT>'+ str(fname))<EOL>print('<STR_LIT>')<EOL>fname = <NUM_LIT:0><EOL>print('<STR_LIT>'+self.files[fname])<EOL><DEDENT><DEDENT>try:<EOL><INDENT>return self.files[self.indexp_cyc2filels[fname]]<EOL><DEDENT>except IndexError:<EOL><INDENT>mods = array(self.get('<STR_LIT>'), dtype=int)<EOL>if fname not in mods:<EOL><INDENT>print('<STR_LIT>'+str(fname))<EOL>fname = mods[-<NUM_LIT:1>]<EOL>print('<STR_LIT>'+str(fname))<EOL>print('<STR_LIT>')<EOL>print('<STR_LIT>')<EOL>return self.files[fname]<EOL><DEDENT><DEDENT>
Function that finds the associated file for fname when Fname is
time or NDump.

Parameters
----------
fname : string
    The name of the file we are looking for.
numType : string
    Designates how this function acts and how it interprets
    fname.  If numType is 'file', this function will get the
    desired attribute from that file.  If numType is 'cycNum',
    this function will get the desired attribute from that file
    with fname's model number.