You are reporting the paste Use fopen(), fread(), and fclose() to open, read, and close a file.