def getFunctionsWithStringByFileNames(fileNames, searchString):
 functions = []
 for fileName in fileNames:
  functions += getFunctionsWithStringByFileName(fileName, searchString)
 functions.sort()
 return functions

def getFunctionsWithStringByFileNames ( fileNames , searchString ) : functions = [ ] for fileName in fileNames : functions += getFunctionsWithStringByFileName ( fileName , searchString ) functions . sort ( ) return functions
get the functions with the search string in the files .