mp3 player help

I have a mp3 player that plays 3 different mp3 files and it works good enough I suppose, but what I would like to do now is make it read all mp3 files in a specified directory and then play them. That way I won’t have to specify individual filenames and locations in my code.

So what I need to know is how to read the all the mp3 filenames in my target directory to an array so I can include them in my playlist.

Any help would be greatly appreciated.