Changing per-file-template as per @gionkunz's suggestion.