path-based configuration; introduce directives: `paths` and `directory` in place of `files`
report configuration error if no handler was defined for a given path