public IActionResult Download(string containerName, string contentName, CancellationToken cancellationToken)
        {
            CheckRequest();

            var fullFileName = _fileSystemFullFileNameProvider.GetFullFileName(StorageRoot, containerName, contentName);

            return(new FileCallbackResult(
                       new MediaTypeHeaderValue(GetMimeType(contentName)),
                       async(outputStream, _) =>
            {
                using (var stream = System.IO.File.OpenRead(fullFileName))
                {
                    await stream.CopyToParallelAsync(outputStream, 1_000_000, cancellationToken);
                }
            }));
        }
 private string GetContentFullFileName(string contentName)
 {
     return(_fileSystemFullFileNameProvider.GetFullFileName(_root, _dirName, contentName));
 }