Split printnum into two files