opendir (DIR, "$dir/$date_cfg") or die "Can't read from $dir/date_cfg: $!\n";