minor refactor doc edn output id and filename