function that opens a file reads it and close it code example Example: c open a file and write stuff FILE *fopen( const char * filename, const char * mode );