just find another library that can do it, mainly because I hate waiting for other people to do something so that I can do something

FatFs from http://elm-chan.org/fsw/ff/00index_e.htmlI've been using it for years now, AVR example code is providedThe function f_readdir will do exactly what you want, which is to iterate through files in a directoryhttp://elm-chan.org/fsw/ff/en/readdir.html