parameters: (dir_name, file_name)
return_statement: return False
docstring: Recursively looks for file named file_name under dir_name directory
docstring_summary: Recursively looks for file named file_name under dir_name directory
docstring_tokens: Recursively looks for file named file_name under dir_name directory
function: def isFileUnderDir(dir_name, file_name):
      '''Recursively looks for file named file_name under dir_name directory
      '''
      if not DO_DT and dir_name.find("MB")>-1:
          return False
      if not DO_CSC and dir_name.find("ME")>-1:
          return False
  
      for f in os.listdir(dir_name):
          dirfile = os.path.join(dir_name, f)
          if os.path.isfile(dirfile) and f==file_name:
              return True
          # recursively access file names in subdirectories
          elif os.path.isdir(dirfile):
              #print "Accessing directory:", dirfile
              if isFileUnderDir(dirfile, file_name): return True
      return False
function_tokens: def isFileUnderDir ( dir_name , file_name ) : if not DO_DT and dir_name . find ( "MB" ) > - 1 : return False if not DO_CSC and dir_name . find ( "ME" ) > - 1 : return False for f in os . listdir ( dir_name ) : dirfile = os . path . join ( dir_name , f ) if os . path . isfile ( dirfile ) and f == file_name : return True # recursively access file names in subdirectories elif os . path . isdir ( dirfile ) : #print "Accessing directory:", dirfile if isFileUnderDir ( dirfile , file_name ) : return True return False