import json


def load_evaluation(filename):
    """Load single evaluation file. Adds the filename for reference"""
    data = None
    with open(filename) as fin:
        try:
            data = json.loads(fin.read())
            data['filename'] = filename
        except json.JSONDecodeError:
            print(f"Could not JSON decode {filename}")
    return data