public static File[] getFilesInDirectoryByPattern(String dirPath, final String patternString) {
    final Pattern pattern = Pattern.compile(patternString);
    return LibrariesUtil.getFilesInDirectoryByPattern(dirPath, pattern);
  }
public static File[] getFilesInDirectoryByPattern(String dirPath, final String patternString)