Create read-xml.cpp

Same as write xml