http template file handler