use temp dir to store nodes and net info