Heat pan. Add in fresh spinach and cook down (should only take 3-4 minutes). Remove spinach and put aside to cool. Once cooled, use a paper napkin to pick up spinach and squeeze out excess moisture over sink. Set aside.
Heat oil in pan. Saute onions until translucent and add in garlic. Cook for 1-2 more minutes, mixing.
Add in spinach, parsley and dill. Add in spices (oregano, red chili flakes, black pepper) Cook for 5-6 minutes letting some of the moisture evaporate. Turn off stove and remove from flame.
Add in paneer, feta and ricotta. Mix to combine. Taste an add salt according to your preference. Feta is salty, you may not need any.
Cut phyllo sheets if needed to fit your pan. Preheat oven to 375F.
Butter pan. Lay a base of 8 phyllo sheets one by one, spreading olive oil on each with a pastry brush.
Spread spinach mixture evenly over phyllo base layer
Repeat layering of 8 more sheets on top, putting olive oil evenly on each (even on top layer!). Cut into desired shape and size. Sprinkle sesame seeds on top.
Bake in oven for 35-40 minutes or until golden brown on top. Serve warm!