Open and close the file handle before and after each victim so as to not repeat downvotes.