modify index file for file-explorer