added to the log file the time that each step takes.