public async Task <IActionResult> RenameFile(string fileToRename, string newNameSegment)
        {
            var result = await _fileManagerService.RenameFile(fileToRename, newNameSegment).ConfigureAwait(false);

            return(Json(result));
        }