On a lightly floured work surface, roll out each sheet of pastry to measure 14 x 14 inches. Cut each sheet of pastry into 4 equal squares. Divide the filling and shredded cheese evenly among the 8 pastry squares. Fold in half to form a triangle and crimp the edges with a fork. Brush with beaten egg.