my question is this. Which is faster on execution, and why?

1)storing data in a vector of strings
2) opening a file and storing the data in the file.

note: there is about 800 pages of data.
note: I will also be accessing the data several times in the program