public Object next(){
  if (filesIndex == files.size())   return null;
  File current=files.get(filesIndex++);
  String label=current.getAbsolutePath();
  int lastSeparator=label.lastIndexOf(File.separatorChar);
  label=label.substring(label.lastIndexOf(File.separatorChar,lastSeparator - 1) + 1,lastSeparator);
  return fileToArray(current,label);
}

public Object next ( ) { if ( filesIndex == files . size ( ) ) return null ; File current = files . get ( filesIndex ++ ) ; String label = current . getAbsolutePath ( ) ; int lastSeparator = label . lastIndexOf ( File . separatorChar ) ; label = label . substring ( label . lastIndexOf ( File . separatorChar , lastSeparator - 1 ) + 1 , lastSeparator ) ; return fileToArray ( current , label ) ; }
returns the next labeled array of words .
