https://github.com/HannulaTero/FolderCrawler
https://terohannula.itch.io/foldercrawler
This asset can be used to crawl out larger folder/file-structures without making the game to freeze up - mainly if structures gotta visit lot of folders inside folders. This returns structure made out of Folder and File -constructs, Folder containing arrays for Folder and File contained within.
Technically, if folder just has lot of items on same level, it could still freeze up, as I decided to not split up file_find_* calls as they ue global state; which could have ill effects if game logic elsewhere happens to use it too. Though most likely this is not the case, I may make a revision to split it up too, or add that as option. So in current state, this is good when looking folder structures, which branches a lot, not when they are wide.
Had this idea yesterday, when I was pondering getting all items within GM project, and then also wanted to split it up to several frames.