testing read/write of generated fileswq