protected String checkPointName(File name) { String path = name.getPath(); int pos = path.lastIndexOf(File.separatorChar); String start = path.substring(0, pos + 1); String finish = path.substring(pos + 1); return start + "checkPoint-" + finish; }