template base file