forgot to require fs in index.js