protected function processActionShow()
 {
     $fileData = new FileData();
     $fileData->setFile($this->file);
     $fileData->setVersion($this->version);
     $fileData->setName($this->file->getName());
     $fileData->setMimeType(TypeFile::getMimeTypeByFilename($this->file->getName()));
     $dataForView = $this->documentHandler->getDataForViewFile($fileData);
     if (!$dataForView) {
         $this->errorCollection->add($this->documentHandler->getErrors());
         $this->sendJsonErrorResponse();
     }
     $this->sendJsonSuccessResponse($dataForView);
 }