private void parseArguementsAndSetCountJob(String[] args, Job countJob, Job genJob) throws Exception {
		for (int i = 0; i < args.length; ++i) {
			if (args[i].equals("-input")) {
				FileInputFormat.addInputPaths(countJob, args[++i]);
				FileInputFormat.addInputPaths(genJob, args[i]);
			} else if (args[i].equals("-countoutput")) {
				FileOutputFormat.setOutputPath(countJob, new Path(args[++i]));
			} else if (args[i].equals("-generateoutput")) {
				FileOutputFormat.setOutputPath(genJob, new Path(args[++i]));
			} else if (args[i].equals("-jobName")) {
				countJob.getConfiguration().set("mapred.job.name", args[++i]);
				genJob.getConfiguration().set("mapred.job.name", args[i]);
			} else if (args[i].equals("-indelimiter")) {
				countJob.getConfiguration().set("indelimiter", args[++i]);
				genJob.getConfiguration().set("indelimiter", args[i]);
			} else if (args[i].equals("-outdelimiter")) {
				countJob.getConfiguration().set("outdelimiter", args[++i]);
				genJob.getConfiguration().set("outdelimiter", args[i]);
			}

			//Set Count Job
			countJob.setMapperClass(CounterMapper.class);
			countJob.setMapOutputKeyClass(NullWritable.class);
			countJob.setMapOutputValueClass(NullWritable.class);
			countJob.setNumReduceTasks(0);
			countJob.setJarByClass(GenerateDriver.class);

			//Set generate Job
			genJob.setMapperClass(GenerateMapper.class);
			genJob.setMapOutputKeyClass(NullWritable.class);
			genJob.setMapOutputValueClass(Text.class);
			genJob.setNumReduceTasks(0);
			genJob.setJarByClass(GenerateDriver.class);


		}
	}