from pathlib import Path
import json


def return_event(file_name):
    """Return a Lambda event object."""
    with Path(__file__).parent.joinpath(file_name).open() as json_file:
        test_event = json.load(json_file)
    return test_event