Change file type from html to txt