How can I assign filepath to the string `file123` using `ShowFileDialog();`

```cs
List<string> lines = File.ReadAllLines(file123).ToList();
foreach(string line in lines)
{
   Console.WriteLine(line);
}

```