var fs = require('fs');
var path = require('path');
var argv = require('optimist').argv;

// Load options into JS object.
exports.options = JSON.parse(fs.readFileSync(path.resolve(__dirname,'../'+argv.optionsFile)));


var fs = require('fs');
var path = require('path');
var argv = require('optimist').argv;

// Load options into JS object.
exports.options = JSON.parse(fs.readFileSync(argv.optionsFile));


Change options handler to use filepath instead of filename.
Change options handler to use filepath instead of filename.
