middleware([ 'auth' ]); Route::resource('file', FileController::class)->middleware([ 'auth' ]);