Sync txt to xml