Added 'var fs = require('fs');