public Executor withCheckpointFile(File checkpointFile){
  this.checkpointFile=checkpointFile;
  return this;
}

public Executor withCheckpointFile ( File checkpointFile ) { this . checkpointFile = checkpointFile ; return this ; }
sets the checkpoint file where the algorithm state is stored . this method must be invoked in order to enable checkpoints .
