Write to file complete. Better HTML parsing.