Would it be possible to store hashes generated in a file, then brush through them to find out if they are under the target?
While this certainly could work, the chances of the hashes ever being valid are next to zero.

The reason is, the hashes must not only meet the target requirements, but they must also be a valid hash of the block header, which changes with each block.