Fix cache issue of c file
Implemente generating fn actions portion for c file