import json


def read_list_from_file(filename):
    """
    Reads a json-formatted list of strings from *filename*
    """
    assert filename.endswith('.json')
    file_list = json.load(open(filename))             
    assert isinstance(file_list,list)
    for s in file_list:
        assert isinstance(s,str)
    return file_list