Added support for external properties file and user-definable file extensions for template files.