clcommon/src/main/java/ucar/nc2/dt/image/image/ImageFactoryRandom.java
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