how to access the file on writeFileSync node js code example Example: fs readfile encoding fs.readFile('/etc/passwd', 'utf8', callback);