var __ = require('underscore');
var fs = require('fs');
var path = require('path');

module.exports = function(templateFile, callback){

  var cur_dir = path.dirname(require.main.filename);
  fs.readFile(cur_dir + path.sep + templateFile, "utf8", function(err, ob){

    if (err) {
      throw err;
    }
    __.templateSettings.variable = "ob";
    var tmpl = __.template(ob);
    callback(tmpl);
  });
};
@@ -184,16 +184,27 @@
 name);%0A 
+ var file =
  fs.read
@@ -207,16 +207,20 @@
 readFile
+Sync
 (cur_dir
@@ -257,164 +257,78 @@
 tf8%22
-, function(err, ob)%7B%0A%0A    if (err) %7B%0A      throw err;%0A    %7D%0A    __.templateSettings.variable = %22ob%22;%0A    var tmpl = __.template(ob);%0A    callback(tmpl);%0A  %7D
+);%0A  __.templateSettings.variable = %22ob%22;%0A  callback(__.template(file)
 );%0A%7D

undo that change