public static void ShowGeneralInfo()
 {
     Logger.Log.Info("Configuration info -------------------");
     ShowFoldersForListen();
     Logger.Log.Info($"Files extension: {ConfigReader.GetFilesExtension().ToUpper()}");
     Logger.Log.Info($"Search timeout: {ConfigReader.GetSearchTimeout() / 1000} seconds");
     Logger.Log.Info($"Telegram message from user: +{ConfigReader.GetUserPhoneNumber()}");
     Logger.Log.Info($"Telegram message to {ConfigReader.GetRecipientType()}: {GetRecipientInfo()}");
     Logger.Log.Info("--------------------------------------\n");
 }
        static void Main(string[] args)
        {
            try
            {
                Display.ShowGeneralInfo();

                var foldersList = ConfigReader.GetTestResultsDir();

                TelegramExtension.AuthUserAsync().GetAwaiter().GetResult();

                var objectDirList = new List <FilesListener>();

                foreach (var folder in foldersList)
                {
                    objectDirList.Add(new FilesListener(folder));
                }

                foreach (var objectDir in objectDirList)
                {
                    objectDir.GetInitialDirectoryState();
                }
                Logger.Log.Info("Waiting for new files...");
                while (true)
                {
                    foreach (var objectDir in objectDirList)
                    {
                        objectDir.RemindAboutNewFile();
                    }
                    Thread.Sleep(ConfigReader.GetSearchTimeout());
                }
            }
            catch (Exception ex)
            {
                Logger.Log.Error(ex);
            }
        }