def METHOD_NAME(self, docs, **kwargs):
    with open(
        os.path.join(str(self.workspace), f'{self.metas.name}.txt'), 'w', encoding='utf-8'
    ) as fp:
        for doc in docs:
            fp.write(doc.text)
            doc.text += f' processed by {self.metas.name}'