func (t Template) Update() Template {
	for i, f := range t.Files {
		for name := range t.Variables {
			f.variables[name] = t.Variables[name]  
			t.Files[i] = f
		}
	}
	return t
}
Updates the TemplateFiles inside the template
package files
import (
	mustache "github.com/Flaque/thaum/thaum/mustache"
	output "github.com/Flaque/thaum/thaum/output"
	util "github.com/Flaque/thaum/thaum/util"
	"github.com/spf13/afero"
	"os"
)
type Template struct {
	Dirs      []string
	Files     []TemplateFile
	Variables map[string]string
	Name      string
}
type TemplateFile struct {
	name      string
	inputPath string
	variables map[string]string
}