File operations using the C language