fixed pathname for date generation.