Snatches the contents of a stream