node write in file afeter open code example Example: writefile in node js fs.writeFile('2pac.txt', 'Some other lyric', 'ascii', callback);