added better render-file error handling and a comment on insert-includes