UploadFile class updated