open(test, ">test.html") or die "Cannot open test2.html for writing: $!";