def METHOD_NAME(self, result: str, ofile: str) -> None:
    """Write oscal results file."""
    if not self._simulate:
        if self._verbose:
            logger.info(f'output: {ofile}')
        result.oscal_write(pathlib.Path(ofile))