Read filename from SD card, store to a string

In this case you want to open the directory (using SD.open()), access each file in turn (using File.openNextFile()) and get the file name (using File.name()).

This is what I am essentially doing, but I cant find the name() you are speaking of...