Adding a file stream constructor for the node based graph