code: @Override
      public boolean accept(File file) {
          WildcardFileFilter filter = new WildcardFileFilter(watchFilter);
          return filter.accept(file);
      }
docs: If the watcher has a filter set, creates a wildcard filter and test the file name against this filter.
  
  @param file is the file.
  @return {@code true} if the file is accepted.