My great grandmother made these - Hungarian foldovers we call them
Mix 1lb flour, 1lb butter and 1lb cream cheese - It works best if you let the butter and cream cheese soften overnight.
Refrigerate dough until stiff then roll out until to 1/8" thickness. Cut into 2" squares and drop a teaspoon of apricot jam in the middle. Fold the opposite corners up and pinch tight then fold down. Brush with beaten egg yolk and sprinkle with sugar. Bake at 375 until brown.
I recommend covering the cookie sheet with tin foil cause the jelly will leak out and the sugar browns on the cookie sheet too.
If this doesn't make sense let me know I did this from my brain and doesn't work well sometimes :)