No cutting off folder names when removing extensions