Working on datadir->DataIO