in this code, the anonymous function of the readFile function returns a value. What i want to do is get that return value to a separate variable.
var jsonfile = require('jsonfile');
var file = '../data/tc.json';
jsonfile.readFile(file, function (error, data) {
return data;
});