Separated combining networks from preparing them. In preparing, make 1
file per connected component. Introduced a NetworkUtils class.