now removes folders that don't exist any more from config file