Handle the case of duplicate

e.g. a dv selected and its log file.