public void DecompressData(string folderPath) { DirectoryInfo directorySelected = new DirectoryInfo(folderPath); foreach (FileInfo fileToDecompress in directorySelected.GetFiles(Compresor.GetFileExtensionPattern())) { Compresor.Decompress(fileToDecompress); } Console.WriteLine("All files has been decompress."); }