public void WriteNumberedFileNamesToConsole(string[] filePaths) { int counter = 1; foreach (var filePath in filePaths) { _consoleWrapper.WriteLine($"({counter}) {_fileOperations.GetFileNameFromPath(filePath)}"); counter++; if (counter > 9) { break; } } }