While the pastry is cooling, make the filling. Beat together the butter and sugar until pale and fluffy. Add the eggs one at a time, beating for a good minute for each one. Add the flour and mix gently until combined. Finally add the coconut and almonds and fold in. Add the milk if the mixture needs loosening a bit.