public function hideAction(Request $request)
    {
        $fileId = $request->get('file_id');
        $fileIds = explode(',', $fileId);

        $volumeManager = $this->get('phlexible_media_manager.volume_manager');

        foreach ($fileIds as $fileId) {
            $volume = $volumeManager->getByFileId($fileId);
            $file = $volume->findFile($fileId);
            $volume->hideFile($file, $this->getUser()->getId());
        }

        return new ResultResponse(true, count($fileIds).' file(s) hidden.');
    }