Organize template files