Check if index.json already exists.