Extracts SinglyLinkedNode to separate file