code: @Override
    @NullSafe
    public boolean accept(File file) {
      return (file != null && getPattern().matcher(FileUtils.tryGetCanonicalPathElseGetAbsolutePath(file)).matches());
    }
docs: Determines whether the given {@link File} matches the regular expression used by this {@link FileFilter}
  to accept or reject {@link File}s.
  
  @param file {@link File} to filter.
  @return a boolean value indicating whether the given {@link File} matches the regular expression
  used by this {@link FileFilter} to accept or reject {@link File}s.
  @see java.util.regex.Pattern#matcher(CharSequence)
  @see java.util.regex.Matcher#matches()
  @see org.cp.elements.io.FileUtils#tryGetCanonicalPathElseGetAbsolutePath(java.io.File)