added stream utils and progress input/output streams