support fileRoot in DocumentText