Create networkx.txt