/**
  * Show the form for creating a new resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function get($filename)
 {
     $entry = Registro::where('filename', '=', $filename)->firstOrFail();
     $file = Storage::disk('local')->get($entry->filename);
     $response = response($file, 200, ['Content-Type' => $entry->mime, 'Content-Description' => 'File Transfer', 'Content-Disposition' => "attachment; filename={$entry->filename}", 'Content-Transfer-Encoding' => 'binary']);
     ob_end_clean();
     // <- this is important
     return $response;
 }