Beat cheeses at medium speed with an electric mixer until blended. Add eggs at low speed, one at a time, until blended.Stir in dill, salt, and pepper.
Cut each pastry sheet into a 13- by 9-inch rectangle. Stack 8 pastry sheets in a lightly greased 13- by 9-inch pan, brushing with butter between sheets. Spread with cheese mixture; top with 4 more sheets, and brush with butter.
Bake at 350 degrees for 45 to 50 minutes or until golden brown. Let stand 10 minutes before cutting into squares.