import json


def read_data_from_file(filepath):
    """
    This function reads data from the testbed saved into a file
    """
    data = []
    with open(filepath, "r") as file:
        for json_obj in file:
            data.append(json.loads(json_obj))

    return data