Update UploadFile.php

Untested bug fix