added a few final modifications to uploadFile.php