Heat template file