alpha_bits.pl change to print when writing to file