stream in the file and read it into a vector