index file edit