def get_total_config_size(config):
    """
    Given a config file, determine the total size of assets, zipped assets, and the total of both.

    :param config:
        The config file to parse
    :type config:
        `dict`
    :rtype:
        `int`, `int`, `int`
    """
    total_base_size = total_zipped_size = 0
    for asset_details in config['files']:
        total_base_size += asset_details['size']
        if 'zsize' in asset_details:
            total_zipped_size += asset_details['zsize']
    return total_base_size, total_zipped_size, total_base_size + total_zipped_size