Ch6 for review

Yeah, I originally wrote this with `$input` and thought at the last minute, "hey, it'd be cool if this could also read from the command line, or read from any filenames which are provided" so I hacked in the `@input` part.