Look in any plugin that uses files but if you find one that uses the functions read_file() and write_file(), skip them, you should not be using those functions.
You should look at fopen(), fgets(), fputs(), fclose(), etc. These functions are similar to C++ functions.