It would be nice to have a wrapper function in ola::file called FilesInDirectory or ListDirectory or something, which handles this special case, so you pass in a path and it returns a vector of file paths. Then we can ensure we always handle it in future, and optionally look at adding tests for it.