getUser($request), $file)) { throw new AuthorizationFailedException(); } return $this->getContentResponse($file); } }