Another way would be to have a singe file with a k...
# suitescript
s
Another way would be to have a singe file with a known location and name, that you update outside of NetSuite to reflect the directories and files available. You could then pull that file in your SuiteScript, parse it, and learn the directory structure and file contents that way. The downside is that it may not always be up to date.