Refactored the raw default template into a private property.
Refactored source directory parsing into its own set of two methods.

Also added error handling to filter processing.