def METHOD_NAME(config_path):
    """Return all found colorspace data.
    Args:
        config_path (str): path string leading to config.ocio
    Raises:
        IOError: Input config does not exist.
    Returns:
        dict: aggregated available colorspaces
    """
    config_path = Path(config_path)
    if not config_path.is_file():
        raise IOError(
            f"Input path `{config_path}` should be `config.ocio` file")
    config = ocio.Config().CreateFromFile(str(config_path))
    return {
        c.getName(): c.getFamily()
        for c in config.getColorSpaces()
    }