def getFilesWithFileTypesWithoutWordsRecursively(fileTypes, words=[], fileInDirectory=''):
 filesWithFileTypesRecursively = []
 for filePath in getFilePathsRecursively(fileInDirectory):
  for fileType in fileTypes:
   if isFileWithFileTypeWithoutWords(fileType, filePath, words):
    filesWithFileTypesRecursively.append(filePath)
 filesWithFileTypesRecursively.sort()
 return filesWithFileTypesRecursively

def getFilesWithFileTypesWithoutWordsRecursively ( fileTypes , words = [ ] , fileInDirectory = '' ) : filesWithFileTypesRecursively = [ ] for filePath in getFilePathsRecursively ( fileInDirectory ) : for fileType in fileTypes : if isFileWithFileTypeWithoutWords ( fileType , filePath , words ) : filesWithFileTypesRecursively . append ( filePath ) filesWithFileTypesRecursively . sort ( ) return filesWithFileTypesRecursively
get files recursively which have a given file type .