Separate function that takes a list of folders and removes anything that's not in the list
Separate function that takes a list of folders and removes anything that's not in the list