doxygen info added to read and write