code: public static BugReporter configureFilter(BugReporter bugReporter, String filterFileName, boolean include)
              throws IOException, FilterException {
          Filter filter = new Filter(filterFileName);
          return new FilterBugReporter(bugReporter, filter, include);
  
      }
docs: Configure the (bug instance) Filter for the given DelegatingBugReporter.
  
  @param bugReporter
  a DelegatingBugReporter
  @param filterFileName
  filter file name
  @param include
  true if the filter is an include filter, false if it's an
  exclude filter
  @throws java.io.IOException
  @throws edu.umd.cs.findbugs.filter.FilterException