Updated Template ParseFile method to ensure that the FuncMap is appended before any new files are parsed