CreateFileDialog dialog = new CreateFileDialog(EncogWorkBench
.getInstance().getMainWindow());
dialog.setType(CreateFileType.MachineLearningMethod);
if (dialog.process()) {
String name = dialog.getFilename();
if( name==null || name.length()==0 ) {
EncogWorkBench.displayError("Data Missing", "Must specify a filename.");
return;