Raw digits writing to file (B.Polichtchouk)