this.dir = dir;
this.file = file;
// If the filename has the .SDF extension, get rid of it
if (file.endsWith(SimpleTextDefine.DATA_FILE_EXT)) {
name = file.substring(0, file.length() -
SimpleTextDefine.DATA_FILE_EXT.length());
}
else {
name = file;
}