Update index.js

hotfix opening file that DNE crashing fs-reverse