public int countTotalLines(File directory) throws Exception{
		int count = 0;
		if(directory==null){
			return 0;
		}
		if (!directory.isDirectory() || !directory.exists()) {
			throw new Exception("ĲǴڵļ!");
		}
		return count + recursionCounter(directory);
	}