$request->validate([ 'file' => 'required|mimes:png,jpg,jpeg,csv,txt,xlx,xls,pdf|max:2048' ]);
$request->validate([ 'file' => 'required|mimes:png,jpg,csv,txt,xlx,xls,pdf|max:2048' ]);