removed line that writes dates to separate file