Numbers to be tested for primality can be given as an input in a file