Creating the network file