M: ScriptFile: getTemplate(name) for name=text and name=file.