I'll explain the problem in detail. There's a form (say abc.html) where you configure certain settings (fill in text boxes and click on submit). Clicking on Submit saves the values so that the next time you open abc.html you can see the values entered earlier. Now these settings are the same every time you configure it. I want to save these settings in a text file, read these and then using a script populate the fields in the form abc.html. That way I don't have to type in the settings every time. I can just open my app, enter abc.html in the appropriate box and the click of a button will do the settings for me. Hope it's clear now.