Logged total time to file.