def add_fdcuk_meta_data(df, filepath):
    """
    Accepts a dataframe and a filepath
    parses the filepath to get strings representing
    nation, league, and season
    writes this data to the dataframe
    Returns the changed dataframe
    """
    season = filepath.stem
    str_filepath = str(filepath)
    str_filepath_parts = str_filepath.split('/')
    nation = str_filepath_parts[11]
    league = str_filepath_parts[12]
    df['nation'] = nation
    df['league'] = league
    df['season'] = season
    return df