code: @Override
      public boolean accept(File file) {
          String name = file.getName();
          if (FilenameUtils.wildcardMatch(name, wildcards, caseSensitivity)) {
              return true;
          }
          return false;
      }
docs: Checks to see if the filename matches one of the wildcards.
  
  @param file  the file to check
  @return true if the filename matches one of the wildcards