Transform from html to txt