Write node writing file when just viewing the node

You can create a dot with the ‘.’ key
If you absolutely want to connect the viewer to the write node, you can also disable the write node by selecting it and typing ‘d’