Add basic code to allow automatic generation of nodes.txt file