docs: def run(self, element, outfolder):
          """Apply this task to model element."""
          filepath = self.relative_path_for_element(element)
          if outfolder and not os.path.isabs(filepath):
              filepath = os.path.join(outfolder, filepath)
  
          _logger.debug('{!r} --> {!r}'.format(element, filepath))
  
          self.ensure_folder(filepath)
          self.generate_file(element, filepath)