public static void main(String args[]) {
		if (args == null || args.length == 0) {
			System.out.println("Please specify a target.");
			System.exit(-1);
		}

		try {
			generate(new File(args[0]));

		} catch (FileNotFoundException e) {
			e.printStackTrace();

		} catch (IllegalArgumentException e) {
			e.printStackTrace();

		} catch (IOException e) {
			e.printStackTrace();
		}
	}