Read filename from SD card, store to a string

I appreaciate that, but I have posted what I tried.

I didnt just go and write code I know wouldnt work, I tried looking at the sdfat library first to find a function which was suitable, but I havent found one that I understand how to use, hence the post...

There is no more code to post as I havent written any....

Im confused why this is so much of an issue... should I be trying stuff I have no idea if it will work, or should I be reading the library to find something suitable first. I thought the 2nd option was the valid option here...

Sorry if I have offended anyone, but I just havent written non working code, would like to find a viable solution from the library first...