check for duplicate file entries