String endpointHtml = IOUtil.toString(new FileInputStream(file));
endpointHtml = extractBodyContents(endpointHtml);
if (showIndex) {
sink.listItem();
sink.link("#" + linkName);
sink.text(linkName);
sink.link_();
sink.listItem_();
buffer.append("<a name='" + linkName + "'>\n");