import json


def readjson(sFile):
    """
    Purpose:
        Read the JSON from a file

    Inputs:
        sFile   string, filename to read from

    Return value:
        aJS     list of JSON/dictionary elements
    """
    aJS= []
    with open(sFile) as f:
        for line in f:
            try:
                aJS.append(json.loads(line))
            except:
                print("Line in a non-valid format.")
    return aJS