Add templates directly to files