I have written the script below, and for some reason it output an extra 3rd line (top out.txt & name ). How do I stop it from outputing the last 2 line to the output fil