* wo: minor refactoring
* wo: exit if no input file is set.