Read file with std::vector