unify RenderManager renderFile & render methods