Two separate streams for input/output added.