open (IN, "tascomod.log") or die ("can not open file: !"); open (OUT, ">tasmodtypfinrpt.txt") or die ("cannot open output: $!");