static void Main(string[] args) { Console.WriteLine("Process folder path:"); var inputPath = Console.ReadLine(); Console.WriteLine("Will process:"); var filesToProcess = new List <string>(); foreach (var file in Directory.GetFiles(inputPath)) { Console.WriteLine($"{file}"); filesToProcess.Add(file); } var imageModel = GetImageData(); var outputPath = GetOutputPath(inputPath); Console.WriteLine($"Will be outputting images to: {outputPath}"); var imageMetadata = new ImageMetadata(manydaysJson); Console.WriteLine($"Retrieved meta data from: {manydaysJson}"); foreach (var file in filesToProcess) { Console.WriteLine($"Starting process of: {file}"); imageMetadata.AddMetaDataAndProcessImage(imageModel, file, outputPath); Console.WriteLine($"Finished process of: {file}"); } imageMetadata.SaveMetaData($@"{outputPath}\manydays.json"); Console.WriteLine("Processed and saved meta data"); Console.ReadLine(); }