Local HTML file save on clicking GENERATE