code: function filterFiles (filters) {
    return (files, metalsmith, done) => {
      filter(files, filters, metalsmith.metadata(), done)
    }
  }
docs: Create a middleware for filtering files.
  
  @param {Object} filters
  @return {Function}