removing previous versioned files from search scan