open (STDOUT, "> abc.txt") or die "Can't open file '$file': $!\n";;