public function files($dropletId)
 {
     $droplet = $this->dropletRepository->getById($dropletId);
     $files = $this->fileRepository->getPaginatedForDroplet($dropletId);
     $class = 'with-top-pane';
     return view('droplets.files', compact('droplet', 'files', 'class'));
 }
 public function destroy($dropletId, $fileId)
 {
     $file = $this->fileRepository->getForDownload($fileId, $dropletId);
     if ($file->droplet->user_id == Auth::id()) {
         $file->delete();
         flash()->success('File deleted');
         return redirect()->back();
     }
 }