making +printTopo write to a file