code: function filter(fp, opts) {
    if (opts && opts.filter) {
      return opts.filter(fp, opts);
    }
    return /[^x]\.js$/.test(fp);
  }
docs: Validate (filter) files using the given filter
  function, falling back on the default filter.