3.0 - Check for `$file` array order in `uploadedFile()`

refs to @xety comments in  #4563