public static void main(String args[]) throws IOException {
		if (args.length == 0) {
			hashFolder();
			return;
		}
		String zipPath = args[0];

		File zipFile = new File(zipPath);
		if (zipFile.exists() && zipFile.isFile()) {
			File filesDirectory = new File("files");
			if (!filesDirectory.exists()) {
				filesDirectory.mkdir();
			}
			UnzipUtil unzipUtil = new UnzipUtil();
			unzipUtil.unzip(zipPath, "files");
			System.out.println("Unzipped files");

			hashFolder();

			Path releaseFile = FileSystems.getDefault().getPath(zipPath);
			Path serverFile = FileSystems.getDefault().getPath("deploy/patch.zip");

			Files.copy(releaseFile, serverFile, StandardCopyOption.REPLACE_EXISTING);
			System.out.println("ZIP file copied");
		}
		else {
			System.err.println("Sorry, the path is not valid.");
			return;
		}
	}