import pathlib
import json


def _load_json(stem, filename):
    """Provide utility to load json."""
    ifile = pathlib.Path('') / stem / filename
    with open(ifile, 'r', encoding='utf-8') as fp:
        content = json.load(fp)
    return content