I have this loop in my script. However, when I check passes.log after the script has successfully run, it is empty! Why is that? iterate passes { # Other random stuff file passlog <"passes.log">; passlog = writeData(passes); } until (passes == 2); # Determine if Done