import json


def get_metrics_collections(file_paths):
    """
    Reads the json files to be averaged and returns the json contents

    :param file_paths: A list of file paths

    :return: A list of dictionaries, which represent the metrics obtained
    from one run of Collector
    """
    metrics_collections = []

    for file_path in file_paths:
        with open(file_path) as f:
            metrics_collections.append(json.load(f))

    return metrics_collections