:~
Not enough sleep at my end I think.
Everything I have tried I have posted. All I am trying to do is find the function or the method to read the file name using the sdfat library.
I have just searched the sdfat library and cant find a function called available()
while(file.available() > 0)
Where is this from?