code: public static String readableFileSize (long size) {
  		if (size <= 0) return "0 B";
  		int digitGroups = (int) (Math.log10(size) / Math.log10(1024));
  		return new DecimalFormat("#,##0.#").format(size / Math.pow(1024, digitGroups)).replace(",", ".") + " " + UNITS[digitGroups];
  	}
docs: Converts byte file size to human readable, eg:<br>
  500 becomes 500 B<br>
  1024 becomes 1 KB<br>
  123456 becomes 120.6 KB<br>
  10000000000 becomes 9.3 GB<br>
  Max supported unit is yottabyte (YB).
  @param size file size in bytes.
  @return human readable file size.