(folderPath, prefix)
return fileList
get all files with a certain prefix
    Args:
        folderPath (str): path to folder to search
    Returns:
get all files with a certain prefix
    Args:
        folderPath (str): path to folder to search
    Returns:
get all files with a certain prefix Args : folderPath ( str ) : path to folder to search Returns :
def getFilesWithPrefix(folderPath, prefix):
    """get all files with a certain prefix
    Args:
        folderPath (str): path to folder to search
    Returns:

    """
    fileRegex = re.compile(prefix+'(\d{1,})(.\w+)')
    fileList = sorted( [file for file in os.listdir(folderPath) if fileRegex.match(file)] )
    return fileList
def getFilesWithPrefix ( folderPath , prefix ) : fileRegex = re . compile ( prefix + '(\d{1,})(.\w+)' ) fileList = sorted ( [ file for file in os . listdir ( folderPath ) if fileRegex . match ( file ) ] ) return fileList