Flushing out old files and updating current day.