Renamed templatFilePattern to templatePathPattern