def size_converter(_bytes: int) -> str:
    """
    Converts bytes to KB, MB & GB
        Returns: formated str
    """
    KB = _bytes / float(1 << 10)
    MB = _bytes / float(1 << 20)
    GB = _bytes / float(1 << 30)

    if GB > 1:
        return f"{round(GB, 2):,} GB"
    elif MB > 1:
        return f"{round(MB, 2):,} MB"

    return f"{round(KB, 2):,} KB"