Use template_file for bootstrapping