public boolean delete() {
    if (nextFile == null) return false;
    fileList.remove( nextFile);
    File f = new File("C:/tmp/deleted/"+nextFile.getName());
    return nextFile.renameTo(f);
  }
public boolean delete() {
    if (nextFile == null) return false;
    fileList.remove( nextFile);
    File f = new File("C:/tmp/deleted/"+nextFile.getName());
    return nextFile.renameTo(f);
  }
public boolean delete ( ) { if ( nextFile == null ) return false ; fileList . remove ( nextFile ) ; File f = new File ( "C:/tmp/deleted/" + nextFile . getName ( ) ) ; return nextFile . renameTo ( f ) ; }
remove last file
remove last file