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