private static void filterMapper(String realJvmCostDir, String mapperJvmCost,
			String filteredMapper) {
		File input = new File(realJvmCostDir + mapperJvmCost);
		File output = new File(realJvmCostDir + filteredMapper);
		
		if(!output.exists())
			output.getParentFile().mkdirs();
		
		try {
			BufferedReader reader = new BufferedReader(new FileReader(input));
			PrintWriter writer = new PrintWriter(new BufferedWriter(new FileWriter(output)));
			
			String titles = reader.readLine();
			String[] title = titles.split("\t");
			writer.println("XMS" + "\t" + titles);
			
			String line;
			while((line = reader.readLine()) != null) {
				String[] value = line.split("\t");
				SplitMapperRealJvmCost jvmCost = new SplitMapperRealJvmCost(title, value);
				int xms = 0;
				if(jvmCost.getXms() == jvmCost.getXmx())
					xms = 1;
				if(jvmCost.getBytes() == jvmCost.getSplit())
					writer.println(xms + "\t" + line);
			}
			
			reader.close();
			writer.close();
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	}