Changes to allow directory nesting by date.