Checks if there is still some file names in the directory opened for reading using the directory number dn.
See also NEXTFILE.