Added missing timestep closing tag when logging to file