def METHOD_NAME(path, arguments):
    import inspect
    vars_from_file = _get_variables_from_file(path, arguments)
    filtered_vars = {}
    for k, v in vars_from_file.items():
        try:
            # we filter out modules and functions so that they will not be available
            # in assistant as well as not visible for validator
            if not inspect.ismodule(v) and not inspect.isfunction(v):
                filtered_vars[k] = _escape_unicode(v)
        except:
            filtered_vars[k] = 'None'
    return filtered_vars