updated HTML title and reset file