Partly made the posibility of Writing all nodes into one file.