private static void print(String file,String inputfile){
		FileWriter fw;
		try {
			fw = new FileWriter(file);
			ReadFile fi = new ReadFile();
			fi.readFileByLines(inputfile);
			Map<Integer, List<String>> k2c = fi.resultfile;
			for(List<String> li:k2c.values()){
				Collections.sort(li);
				for(String ss:li)
						fw.write(ss+"\n");
			}
			fw.flush();
			fw.close();
		} catch (IOException e1) {
			// TODO Auto-generated catch block
			e1.printStackTrace();
		}
		
	}