remove things outside of subfolders