alpha_bits.pl writing in file fixed for only base filename