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