.csv File being created on SD card, no data within file

I'm not sure what you mean by this. I ran the example in from the SD library for datalogging and have also formatted my card accordingly. Is there a specific example you're referring to?