Clear fp after fclose(fp).