I know that this code works for finding the newest file
var directory = new DirectoryInfo(tbxDir.Text); if (Directory.Exists(tbxDir.Text)) { var NewestFil