fix readjson/readyaml example must use fullpath