file_path) && Storage::disk('local')->exists($certificate->file_path), 404); return Storage::disk('local')->response($certificate->file_path); } }