adopt more from https://github.com/busyloop/lolcat/blob/master/lib/lolcat/cat.rb