var smartfile = require("./index.js"); console.log(smartfile.readFileToString("./test/mytest.txt"));