def loader(filename):
    if not isinstance(filename, str):
        raise TypeError("Expected basestring, got '%s' instead" % type(filename))
    if filename == "":
        raise ValueError("Empty filename got.")

    return json.load(open(filename, "rU"))
Returns True if this Model type supports dynamic properties (is a
dataset/ETHPy150Open cr0hn/openvas_to_report/openvas_to_report/libs/translations/__init__.py/loader--crossover with--dataset/ETHPy150Open jahlborn/appengine-rest-server/src/main/python/rest/__init__.py/ModelHandler.is_dynamic