errors are now written in a file specific to each node.