UploadFile simplified