2^16 is 65536, so 65535 is the largest number you can store in two bits. 15 to store the digits and 1 to store the information about the file.