check()) { return redirect('/files'); } } return $next($request); } }