Error 53. You have N open file(s) that you forgot to close. You must call fclose() function for every file opened with fopen()

You called fopen() to open files but failed to call fclose.

fh = fopen("test.txt", "w" );
if( fh )
{
  
// fclose( fh ); // fclose() SHOULD be called
}