import configparser


def read_config(config_file):
    """Read the config file.

    Args:
        config_file (file) : Plugin config file

    Returns:
        object: config object
    """
    config = configparser.ConfigParser()

    config.read(config_file)

    return config