private static String getRootFolder(URL url) {
		String folderAppend = url.getPath();
		int lastIndexPath = folderAppend.lastIndexOf("/");
		if (lastIndexPath != -1) {
			folderAppend = folderAppend.substring(0, lastIndexPath);
		}
		Matcher matcher = FOLDER_URL_REPLACE.matcher(folderAppend);
		folderAppend = matcher.replaceAll(".");
		String host = url.getHost();
		if (host.substring(0, 4).equalsIgnoreCase("www.")) {
			host = host.substring(4);
		}
		int lastIndexHost = host.lastIndexOf(".");
		if (lastIndexHost != -1) {
			host = host.substring(0, lastIndexHost);
		}
		return String.format("%s%s%s%s", IMAGE_ROOT, host, folderAppend, File.separator);
	}