import json


def read_squad_file(filepath, field="data"):
    """
        Get the data field of squad-like file
    """
    with open(filepath, 'r') as f:
        queries = json.load(f)[field]
    return queries