Code:
        Dim aPath As String = "C:\MyDocs\Mails\mysave.txt"
        Dim theFileName As String = IO.Path.GetFileName(aPath)