Here is the code that i used..
Dim fileAs String = Application.StartupPath & "\file.txt"
If System.IO.File.Exists(file.txt) = True Then
Dim objReader As New System.IO.StreamReader(file.txt)
file= objReader.ReadToEnd
Else
MsgBox("File does not exists")
Exit Sub
End If