public static void main(String[] args) {
		Jsaper jsaper = new Jsaper();	
		Path file = null;
		Path targetDirectory = null;
		Map<String, Object[]> map = jsaper.getParamList(args);

		if(map.get("one")[0].equals(true)) {
			file = initAchiveFile(map.get("other")[0].toString());
			UnZipper zipper;
			try {
				zipper = new UnZipper(file.toFile());
				if(Utils.printMessage(zipper.checkOptions(map))) {
					System.exit(1);
				}
				
			} catch (IOException e) {
				System.err.println("Error while unzipping " +map.get("other")[0].toString());
				e.printStackTrace();
				System.exit(-41);
			}
		}
		
		else if(map.get("two")[0].equals(true)) {
			file = initAchiveFile(map.get("other")[0].toString());
			targetDirectory = Paths.get(map.get("other")[1].toString());
			UnZipper zipper;
			try {
				zipper = new UnZipper(file.toFile());
				zipper.setOptionMap(map);
				zipper.extract(targetDirectory);
			} catch (IOException e) {
				System.err.println("Error while unzipping " +map.get("other")[0].toString());
				e.printStackTrace();
				System.exit(-42);
			}
		}
		System.exit(0);
	}