I was tinkering with ds_list* and file_find_first() - next and I was able to load files in a directory to a list so i think that this may be in some way useful however it's still a bit crude and unoptomized.
Download HereEDIT: and uncommented
EDIT: i found an error: Change room end to game end;