I wrote a dos emu launcher :-)
in the editor, users can enter the file extension of the accepted roms they have.
there is rarely more that 3 (never seen 5) example *.bin, *.iso etc...
the program will then create a listing based on the extensions they entered :-)
good question!!