wrote a c file