converting text file to C source code