public static void StoreFileTypeQuery(string filePath) { Console.WriteLine(); Console.WriteLine($"Not sure where to put files of this type: {Path.GetExtension(filePath)} what would you like to do?"); Console.WriteLine($"1. Specify a folder to store it into. | 2. Ignore this particular file. | 3. Ignore ALL files that end with {Path.GetExtension(filePath)}"); Console.WriteLine(); switch (Console.ReadKey().Key) { case ConsoleKey.D1: { Console.WriteLine(); Console.WriteLine($"Enter a full path to the directory you want to move all {Path.GetExtension(filePath)} files to from here on."); Sorting.StoreFileExtensionDestination(filePath, Console.ReadLine()); break; } case ConsoleKey.D2: { Sorting.IgnoreFile(); break; } case ConsoleKey.D3: { Sorting.IgnoreFile(); Sorting.IgnoreFileType(Path.GetExtension(filePath)); break; } default: { Console.WriteLine(); Console.WriteLine("Invalid input."); StoreFileTypeQuery(filePath); break; } } }