Right, because when you iterate over the contents of a directory that's all you're ever going to want to do with the file system.
Gee, I wonder those 3 dirent.h libraries I listed above even exist then.
Perhaps to iterate over the files in a directory and read them? Perhaps using std::ifstream... or maybe we should drag in some boost stuff just to read a simple file too. ;)
Actually, since we are dragging in large unnecessary deps, perhaps we should drag in wxWidgets and use wxFile::read...