open (OUT, "> test.txt"); ### Change if file name changes