var fs = require('fs')
fs.readFile(????, function (err, data){
console.info(data.toString())
})
my_project/
├── assets/
│ └── somefile.txt
├── src/
│ └── script.js
└── package.json
// script.js
var fs = require('fs');
var path = require('path');
var filePath = path.join(__dirname, '../assets/somefile.txt');
fs.readFile(filePath, function (err, data) {
console.log.info(data.toString());
});