Using map for template filenames.