Evolution of Habitat Preference and Nutrition Mode in a Cosmopolitan Fungal Genus with Evidence of Interkingdom Host Jumps and Major Shifts in Ecology