Couple of slides on how to read from and write to streams.