try tee for reading multiple lines