-readwrite and xml