Retrieve the next file name from an opened directory list. If there is no more file names it returns undef.
See also OPENDIR and CLOSEDIR.