- Replaced hardcoded template paths with a static method to dynamically construct paths based on filenames. - Updated references to template paths throughout the class to enhance maintainability and readability. - Improved organization of template file management for better localization support.