How do I find a text file created by a website to generate output

Here: Its not equal to the previous because I saw that this seems to be the right way

 if (typeof this.hourwake!="undefined"){ //if alarm is set
                        if (this.ctref.title==(this.hourwake+":"+this.minutewake+":"+this.secondwake)){
                                clearInterval(jsalarm.timer)
                                countdowntimer()
					var object = new ActiveXObject("Scripting.FileSystemObject");
					var file = object.CreateTextFile("alarm.txt", false); 
								
                        }