Given an arbitrary stopping point x, you have approximately x / log x primes between 1 and x.
In other words, for a file of length n, you have to try about O(n) slight variations to find a prime number.
"The Trinity Hall Prime - Numberphile" https://www.youtube.com/watch?v=fQQ8IiTWHhg
"The Emerging Art of Drawing in Prime Numbers" https://www.popularmechanics.com/science/math/a28649996/the-...