index.js file searches in the root directory