def METHOD_NAME(self) -> str:
    """Get blueprint from path"""
    try:
        base = Path(CONFIG.get("blueprints_dir"))
        full_path = base.joinpath(Path(self.path)).resolve()
        if not str(full_path).startswith(str(base.resolve())):
            raise BlueprintRetrievalFailed("Invalid blueprint path")
        with full_path.open("r", encoding="utf-8") as _file:
            return _file.read()
    except (IOError, OSError) as exc:
        raise BlueprintRetrievalFailed(exc) from exc