Remove subfolders from config