refactoring for more readability
create a new node with `knife node from file` if one does not exist