Can't open two files anymore (Solved)

I have a program on a Mega 2560 that open two files and this have worked fine before. But not now I have no clue regarding why. I use the user SDfat library. Below is the code that relate to the Sd card. The initiation works fine and if I comment out one of the file open statement the other opens fine. But if I have both only the first one will open.

in setup()

if (!sd.begin(53, SPI_HALF_SPEED))
 Serial.println("Error SD init");
 Serial.println("SD init");
 // open the file for write at end like the Native SD library
 if (!"test.txt", O_RDWR | O_CREAT | O_AT_END))
 {Serial.println("Opening test.txt for write failed");myFile.close();}
 Serial.println("test.txt opened");

 if (!"dayslog.txt", O_RDWR | O_CREAT | O_AT_END))
 {Serial.print("Opening dayslog.txt for write failed");myFile.getWriteError();}

Forget I found out why

So edit your post title to include something like [SOLVED] to indicate is no longer requiring a response??