import json


def extract_files(files):
    """
    Read all JSON files into an array.
    """
    filesObj = []

    for f in files:
        with open(f, 'r') as filename:
            print("Reading file: " + f)
            obj = json.load(filename)
            filesObj += [obj]

    return filesObj