add base template file