use an 8x10 pan. layer the filo by brushing each sheet with olive oil, and a light sprinkle of parmesan cheese. the bottom layer should be 6 sheets. trim the ends and set aside.

in a large skillet, heat the olive oil on low--toss in the garlic and onion. cook just until the onions begin to sweat and turn translucent. do not allow the garlic to brown. toss in the chard and allow to wilt, giving a good stir to evenly cook. after about 5 minutes, toss in about 1/4 cup of water and cover. allow the chard to get nice and soft. allow to cool slightly. strain off the liquid and place in a bowl. add the ricotta, parmesan, lemon juice, red pepper flakes, and pepper.

evenly spread into the prepared filo crust.

take the remaining 4 leaves of filo one by one and scrunch them in a loose accordion. place on top of the spinach layer, making sure to cover the entire top of the pie. drizzle with olive oil and sprinkle a bit more cheese.

bake at 375F for about 30-35 minutes. you will look for the filo to be nice and crispy.