renamed _loadFile to _template