async def METHOD_NAME(self, request: Dict[str, Any]) -> EndpointResult:
    filename = request["filename"]
    if self.service.METHOD_NAME(filename):
        return {}
    raise ValueError(f"Not able to delete file {filename}")