add c file generator