Working file input and creation of a vector to store data.