Fixed big xml issue by uploading one xml per iteration.