mid file i/o testing
good file writing