The files in directory: option does not seem to be available. Am I missing something? I realize this is a very old example. Here is what I have tried so far.
"Prior to version 8.0, the only options were recursive or the unordered direct contents of the folder. This allows you, for example, to find the most (or least) recently added file, or the largest or smallest."
I have done things like that more times than I can count. The error that popped up was a little tricky to interpret and unless you know what to look for it's easy to miss. Which I many times don't and have been helped my many kind people on this forum.