snapshot before deleteing index file in public