code: def run(self):
          "Run each middleware function on files"
          # load files from source directory
          files = self.get_files()
  
          # loop through each middleware
          for func in self.middleware:
  
              # call each one, ignoring return value
              func(files, self)
  
          # store and return the result
          self.files.update(files)
          return filef run(self):
          "Run each middleware function on files"
          # load files from source directory
          files = self.get_files()
  
          # loop through each middleware
          for func in self.middleware:
  
              # call each one, ignoring return value
              func(files, self)
  
          # store and return the result
          self.files.update(files)
          return files
docs: Run each middleware function on files