Memory management: Must close Streams when not needed anymore.