A Flow Network Analysis of Direct Balance-sheet Contagion in Financial Networks