// Get the uploaded file from the request
$file = $request->file('file');

// Store the file in the 'uploads' directory
$filename = $file->store('uploads');