Value of text File as config

Hi,

I have set the path of directory in setting.js and I want to read file and set that value of file as one of input configuration. How can I do it in html file?

Best Regards,
Rohit Khatri