Move nodes to external file