Need help with CTE50

Also
I was thinking that maybe the SD is malfunctioning.
I ran benchmark test from the sdFat library, and there is good communication between the Mega to SD.
So now, I only have to somehow deliver the 0.CTE file from the SD to the flash IC.

Can you tell me which libraries you use?