Are you really trying to store a password in a text file accessible through the internet, by anybody who knows the name of the file, with an ordinary browser? 그러지 마세요. Store your file somewhere else, somewhere outside of the website space.