Convert file to C source