Moves file to index.js