Add method to register path-matching processors	

The processor will only be run if the file path matches the given regular expression