You can delete the line by putting this after the call to $read

write -dl $+ $readn yourfile.txt