takes a stream or a filename as input and outputs with ansi color codes added to individual lines of text