chapter 8-5 read file content to standard output