Fixed NPE if file node is unassigned; changed unassigned and unique node names encoding so it flies through new file name check