def human_readable_size(size):
    """Return a string for better assessing large number of bytes."""
    if size < 2 ** 10:
        return '%s' % size
    elif size < 2 ** 20:
        return '%.2f KB' % (size / float(2 ** 10))
    elif size < 2 ** 30:
        return '%.2f MB' % (size / float(2 ** 20))
    elif size < 2 ** 40:
        return '%.2f GB' % (size / float(2 ** 30))
    else:
        return '%.2f TB' % (size / float(2 ** 40))
