Read topology file and output Pajek Net