What I have in mind would be something analogous to what can be accomplished in python with os.walk()–a way to get a sequential list of all the file paths at or below a specified directory–though the 010 scripting interface would doubtless be very different than in python.
Adding such support for three operating systems could be complicated, but perhaps you could consider this for a future version?
This is just a note that you could use the ‘FindFiles’ function to search for all files in a directory and that function also returns all sub-directories. The ‘FindFiles’ function is not currently recursive but you could call it recursively in your script. Let us know if you’d like some sample code. Cheers!