readLine
Stream objects
Stream objects are returned from the fs.open method.
Examples
var fs = require('fs');
var stream = fs.open('data.xml', 'r');
while(!stream.atEnd()) {
var line = stream.readLine();
console.log(line);
}
stream.close();