You have a few options for getting prime lists for your programs. The main purpose is if you have a text file with a large block of confirmed primes you can work with them without having to generate the primes every time which saves hours.
Prime Number Downloads
The First 50 Million Primes
Download prime number files in separate batches. The Prime Pages provides verified lists that you can combine for your research. Great starting point for most prime number programs.
Project Gutenberg - All Primes to 1 Trillion
An extensive archive containing all primes up to 1 trillion - approximately 37 billion prime numbers. Requires significant disk space; recommended for serious researchers only.
Tools for Generating Primes
Kim Walisch's Primesieve
A fast prime number generator with extensive program options for checking, counting, and creating primes. One of the fastest implementations available, written in C++ with APIs for multiple languages.
Generate Your Own
You can also easily generate primes yourself. It is CPU intensive but takes only minutes to get large numbers using modern sieve algorithms. For most applications, generating on-demand is a viable alternative to downloading large files.