pick files in own index.js file