used date instead strftime for file name foramte