Add a hook to run an external process when a file updates

By using the update-hook flag you can run a command whenever a word count
changes. The command is run with these args: path wordCount prevWordCount
Update tests with new countFile signature

Also tweak the file regexp name to match its dual functionality.