Put oven rack in middle position and preheat oven to 500°F. Line a shallow baking pan with foil. Coarsely grate cheese and set aside in a medium bowl. Pulse mushrooms and shallot in a food processor with thyme, 3/4 teaspoon salt, and 1/4 teaspoon pepper until finely chopped. Heat 2 tablespoons bu...