private void syncDir(String pathname) {
		File f = new File(pathname);
		if (! f.getName().equals(SystemProperties.getInstance().getDatabaseName())) {
			File[] listfiles = f.listFiles();
			for (int i = 0; i < listfiles.length; i++) {
				if (!stop) {
					File item = listfiles[i];
					if (! item.isHidden()) {
						if (item.isDirectory()) {
							String name = item.getAbsolutePath();
							syncDir(name);
						} else {
							long s = System.currentTimeMillis();
							LOGGER.debug(">>> start merge file content (" + item.getName() + ")");
							mbRecordLogic.mergeMassBankRecordIntoDb(item, instruments, msTypes);
							LOGGER.debug(">>> end merge file content (" + item.getName() + ") " + (System.currentTimeMillis() - s) + "ms");
							count++;
						}
					}
				} else {
					break;
				}
			}
		}
	}