Remove file with "SdFat.h"

You can't remove a file that has been opened read only.

 if (!myFile.open("test.txt", O_READ)) {