Add strftime based file output looping.