private int processZipFile(File file, String targetPath) {
		List<Branch> branchs = CsvTool.getBranchs();
		int count = 0;
		for (Branch branch : branchs) {
			if (file.getName().length() < 10) {
				continue;
			}
			/**
			 * 4~10byte are bank code of branch file ext name should be .zip
			 */
			if (file.getName().substring(4, 10).equals(branch.getCode())
					&& file.getName().endsWith("zip")) {

				if (branch.getZipInd() == Branch.ZIP_IND_NEED_FOLDER) {
					final String zipFileName = file.getName().substring(0,
							file.getName().length() - 3);
					/* using filename as folder name */
					File f1 = new File(targetPath + "//" + zipFileName);
					if (!f1.exists())
						f1.mkdirs();

					zipTools.unzip(file.getPath(), targetPath + "//"
							+ zipFileName);
					log.debug("unzip file:" + file.getPath() + " to "
							+ targetPath + "//" + zipFileName);
				} else {
					zipTools.unzip(file.getPath(), targetPath);
				}
				log.info("branch:" + branch.getCode() + "-" + branch.getName()
						+ ":Processed");
				count++;
			}
		}
		return count;
	}