def __convert_size(size_in_bytes, unit):
    """
  Converts the bytes to human readable size format.

  Args:
    size_in_bytes (int): The number of bytes to convert
    unit (str): The unit to convert to.
  """
    if unit == 'GB':
        return '{:.2f} GB'.format(size_in_bytes / (1024 * 1024 * 1024))
    elif unit == 'MB':
        return '{:.2f} MB'.format(size_in_bytes / (1024 * 1024))
    elif unit == 'KB':
        return '{:.2f} KB'.format(size_in_bytes / 1024)
    else:
        return '{:.2f} bytes'.format(size_in_bytes)