old_contents: var fs = require('fs');
  var data = fs.readFile('data.json', 'utf8');
  console.log(data);
  
new_contents: var schema;
  var file = 'data.json';
  
  var cb = function(err, data) {
  
    if (err) {
      throw err;
    }
  
    schema = data;
  
  };
  
  fs.readFileSync(file, 'utf8', cb);
  console.log(schema);
  
subject: use asynchronous readfile