refactored from string template to PageTemplateFile, refs #8364