XYZ parser and writer, easy