finished c file