document io.h WIP