def METHOD_NAME(config_path):
    path = Path(config_path)
    if not path.exists():
        raise Exception(f'No configuration file found at {config_path}')
    config = ConfigParser()
    config.read(path)
    args = config['args']
    return {
        'in_file': args.get('in_file'),
        'state_file': args.get('state_file'),
        'error_file': args.get('error_file'),
        'batch_size': args.getint('batch_size'),
        'dry_run': bool(args.get('dry_run')),
        'ol_config': args.get('ol_config'),
    }