add `directory` and `only` options

this way you can override the directory and optionally apply a
filter/glob when checking files
v0.0.6