public function show($id)
    {
        $file = $this->repository->getById($id);

        if (!$file) {
            return $this->errorNotFound();
        }

        $this->authorize('read', $file);
        return new FileResource($file);
    }