1
Try this:
var fs = require('fs');
function writeToFiles(input) {
fs.readFile(input, function (err, data) {
if (err) throw err;
data = data.toString();
data.split('\n').forEach(function (line) {
var parsed = line.split(/([\w ]+),"([\w ,]+)"/).filter(functi...