Enhancement: Added separated methods to check if a given path name
should be excluded