Switch demonstrate to using Unix I/O
Pull out a function for skipping blank lines in an input channel