If this works:

if ($read(name.txt,w,$1 $+ *) = $null) {

why won't this work:

if (!$read(name.txt,w,$1 $+ *)) {

???