Special way to load image files?

Hello.



I am trying to load bulk images from various sources and I need a way to access files without actually speficying their file name

All that I have which is constant is their directory and file type.



Is there a way to load image files in order from a directory without knowing their actual filename?

Get the image dir contents with listFiles() and loop through them?