Chap06 IO Complete