public static List<File> listFilesWithPattern(String directory, String fileNamePattern) {
        if (directory == null || StringUtils.isBlank(fileNamePattern)) {
            return Collections.emptyList();
        }
        return listFilesWithPattern(new File(directory), fileNamePattern);
    }
List all files present in directory which matches filename regex pattern
@param directory
@param fileNamePattern
@return List of files
commons/src/main/java/io/hyscale/commons/io/HyscaleFilesUtil.java