mnotes.query = {} mnotes.query.perform = function(file) local res = mnotes.ep:query(mnotes.rq{file = "@" .. file}) return res.body end