I am trying to read a large file one line at a time. I found a question on Quora that dealt with the subject but I\'m missing some connections to make the whole thing fit to
require('fs').readFileSync('file.txt', 'utf-8').split(/\r?\n/).forEach(function(line){ console.log(line); })