This should just get you started.
For a text file, try using the VI, "Read from Spreadsheet File" located on the "Functions" palette, "File I/O" sub-palette.
For an Excel file, look at the library included with LabVIEW for an example of how to interface with Excel (National Instruments\LabVIEW 6.1\examples\comm\ExcelExamples.llb)