public static String formatSize(long size){
		if(size <= 0) {
			return "0B";
		}
		String [] units = new String [] {"B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB", "NB", "DB", "CB",};
		int i = 0;
		float newSize = size;
		while(newSize >= 1024) {
			newSize /= 1024;
			i++;
		}
		if(i > units.length - 1) {
			return "Unknown";
		}
		return String.format("%.2f", newSize) + units[i];
	}