def METHOD_NAME(
    self,
    source: TestReport,
    export_context: ExportContext,
) -> Optional[Dict]:
    """
    Exports report to text file in the given directory.
    :param: source: Testplan report to export
    :param: export_context: information about other exporters
    :return: dictionary containing the possible output
    """
    with open(self.file_path, "w+") as report_file:
        report_file.write(self.get_text_content(source))
        TESTPLAN_LOGGER.user_info(
            "%s output generated at %s",
            self.__class__.__name__,
            self.file_path,
        )
    return {"text_file": self.file_path}