Layer buttered filo pastry, top with sautéed red onions, parma ham, gorgonzola, and basil, then bake until crisp and melted.