javascript open file path nodejs code example Example: fs readfile encoding fs.readFile('/etc/passwd', 'utf8', callback);