For some reason, I still get a warning message: Creating default object from empty value. Product controller public function update(Request $request, $id) {
Unix 'file' command has a -0 option to output a null character after a filename. This is supposedly good for using with 'cut'. From man file: -0, --print0