Melt dark chocolate and butter together in a double boiler.
Add sugar to the melted chocolate and mix well.
Add eggs one at a time, mixing thoroughly after each addition.
Sift cake flour and cocoa powder into the mixture and combine.
Gently fold in the walnuts.
Pour the batter into a pan lined with parchment paper.
Bake in a preheated oven at 180°C (356°F) for 25 minutes.