Moved functions for reading tabulated data from file.