In a large skillet, heat oil over low heat. Saute onions until caramelized. Season with salt and pepper and remove from heat. Bring to room temperature. Crumble cheese into cooled mixture and set aside.
Preheat oven to 400 degrees F. Butter a flattened sheet of phyllo with a pastry brush. Top with another sheet of dough and brush with butter. Cut dough into 6 (2-inch) strips. Place a1 tablespoon of the onion mixture in the bottom left hand corner of each strip. Begin to fold as you would a flag, until each strip is entirely folded. Continue with remaining dough filling. Brush packets with butter and place on parchment lined sheet pan. Bake for 6 to 8 minutes or until golden.