code: public File inFileNamed(String filenamePattern)
      {
          if (filenamePattern != null && !filenamePattern.isEmpty())
          {
              f.setFilenamePattern(new RegexParameterizedPatternParser(filenamePattern));
          }
          return f;
      }
docs: Match filenames against the provided parameterized string.