changed fileToWrite_ to currentTimeStr_ for clarity