Also, you can refactor this line into a while read loop.