Click L16_file_io_handout.pdf link to view the file.