setup a template C file