finish fileupload