Updated to upload file