Catch Undefined Variables 05-readstream.md

I was walking through part 5 readstream, and wasn't sure how to abstract the function. So I followed your code, but it didn't run.  This is what I did and it seemed to work.