Get rid of all fopen()/fread()/fwrite() calls.