removed old analysis file, writing new one