public virtual IActionResult DeleteFile([FromRoute][Required] string path) { FileHandle file = _fileSystemService.GetFileHandle(path); if (file == null) { return(NotFound()); } _fileSystemService.DeleteFile(file); return(Ok()); }