Bug FilesInFoldersIter - after the very last file in the last folder, it throws an NPE instead of just finishing normally.