Essentially this would allow a user to get file references without having to know file names or hacky workarounds where you rename all your files to something predictable.
A few examples:
With a given directory path, return number of files in directory.
With a given directory path and number index, return file reference at that location in the directory.
There may be other possibilities, but only those two features would be really required for this.
Thanks for your time.