Fixed typo
Added exclude_pattern configuration option
Added comment
Implemented path exclusion feature
Added test case
Updated documentation