/**
  * Delete a file.
  *
  * @param string $filePath
  * @param bool   $deleteCache
  *
  * @return bool
  */
 public function delete($filePath, $deleteCache = true)
 {
     if ($deleteCache) {
         Server::deleteCache($filePath);
     }
     return $this->disk->delete($this->buildPath($filePath));
 }
 /**
  * Display image.
  *
  * @param Request $request
  * @param string  $filename
  *
  * @return mixed
  */
 public function show(Request $request, $filename)
 {
     if (config('clyde.secure_urls')) {
         try {
             SignatureFactory::create(config('clyde.sign_key'))->validateRequest($request->path(), $request->all());
         } catch (SignatureException $e) {
             return response()->json('Sorry, URL signature is invalid.');
         }
     }
     return Server::outputImage($filename, $request->all());
 }