def METHOD_NAME(self) -> str:
    if self._has_output() and self.output:
        with open(self.output, encoding="utf-8") as fobj:
            return fobj.read().strip() + "\n"
    else:
        return ""