var result = 0; 
for (var i = 2; i < process.argv.length; i++) {
	result += Number(process.argv[i]);
};

console.log(result)
var fs = require('fs');
var filePath = process.argv[2];
var fileContents = fs.readFileSync(filePath).toString();

var numberOfLines = fileContents.split('\n').length;
console.log(numberOfLines-1);


Complete Lesson 2 - Read a file