IOUtils.readLines(): ignore empty lines
Added optional --from argument.  Minor refactoring.