import json


def _get_group_code_names(fob_file_path):
    """Extract code names from first run in fobs file."""
    with open(fob_file_path) as f:
        data = json.load(f)[0]
        return [r['name'] for r in data['runs']]