Updated index.js to us FileSystem over grunt