all with biginteger working out and files