def human_size(qbytes, qunit=2, units=None):
    """ Returns a human readable string reprentation of bytes"""
    if units is None:
        units = [' bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB'][qunit:]
    return str(qbytes) + units[0] if qbytes < 1024 else human_size(qbytes >> 10, 1, units[1:])