Im writing a game right now and I want it to get the contents of a directory, mainly *.sav files and then put it all into an array of sorts. My main priority is to get this code cross platform - Linux, Windows, Mac etc. Does anyone know of such code?