add xml file read/write examples