Demonstrates attaching a StreamReader object to a stream