This recipe will show you how to list all the image files in a specific directory. In the joke-telling machine we are creating, each joke question and response will be provided as a pair of images. This recipe will show us how to list all our bitmap images on the board.
We will then extend this functionality to further filter the list so that we have all the bitmap images of the joke questions at hand. This recipe will help you if you want to create a project where you want to retrieve a list of images or audio files so that you can display or play them in your project.