I am writing code for my GPS logger
but I'm not going to show it to you.
This code can successfully create a file on the SD, but the file will always be blank!
You should probably write to it, then.
I always remember to dataFile.flush() at the end of each entry written.
But, do you ever close the file?