finish upload file