Alternatively, if the list of files doesn’t change, you could generate the list in your build process using your preferred method of listing directory contents.
The list doesn’t change so I created an array of the file names and now, therefore, I can get random file names. However, I cannot figure out how to get the file by relative path.