>>The problem is its not removing the File names that are stored
If it is for ListBox2, to have items removed, you need to loop backwards thru the ListBox and remove the .Items.
With ListBox2
For i As Integer = .Items.Count - 1 To 0 Step -1
.Items.Remove(.Items(i))
Next
End With
Looping forward and removing items will cause it to crash since it is looking for the .Count that was first set, and it constantly changes to .Count -=1.
Hope this helps.:)