Update upload.php

Change the field variable to the file variable and remove: `$file = a::get($_FILES, $field);`