public NSMutableArray comments;
public Node parse(String filename)
{
Node document = null;
try {
Tidy tidy = new Tidy();
tidy.setQuiet(true);
tidy.setShowWarnings(false);
TagTable tt = new TagTable();
tt.setConfiguration(tidy.getConfiguration());
log.info(filename);
document = tidy.parse(new FileInputStream(filename), null);
document = document.findBody(tt);
comments = new NSMutableArray();
Node next = document.getContent();
while(next != null) {
Node content = next.getContent();
int type = next.getType();
if(type == Node.CommentTag ) {
//comments.addObject(next.getText());
} else if(next.getType() == Node.StartTag && next.getElement().equals("p")) {