added support for strftime style time fields in the filename