public ResultSummarizer(String[] args) {
		try{
			if (args.length >= 1) {
				infroot = args[0];
				if (args.length >= 2) {
					ref = Integer.parseInt(args[1]);
				}
			}
		}catch(Exception e){
			System.out.println("Invalid argument.");
		}
	}