def _get_subgroup(file: str) -> str:
    """Function that will pull the subgroup substring out of the filepath
    
    Parameters

    file : str
        filepath to the ERSA file

    Returns

        returns a substring that has the subgroup. Ex "sub1"
    """
    return file[-4:]