using io.Reader for Store.Add, clean up of readXML function