file written in c