Start with making the fudge filling so it has time to cool and thicken. Stir together the cocoa powder, brown sugar, milk, salt and half of the chopped chocolate.
In a large mixing bowl with a paddle attachment, combine flour, cocoa powder, sugar and salt. Add the chunks of butter and keep mixing until it is crumbly.