static void Main()
        {
            InputAndOutput input = new InputAndOutput();

            input.Message += InputAndOutput.MessageOutput;

            string pathToFile    = input.InputPathToFile();
            string pathToNewFile = input.OutputPathtoFile();

            List <string[]> fileInList = ReadFile.InputFileInArrayCharsOfLines(pathToFile);

            ReformattingAndRecorging.ReformattingFile(fileInList, pathToNewFile);
        }
        public static void ReformattingFile(List <string[]> arrayCharsOfLines, string pathToNewFile)
        {
            using (FileStream ReformatedFile = new FileStream($"{pathToNewFile}" + @"\ReformatedFile.csv", FileMode.Open))
            {
                List <string> dataList = DataInfoToString(arrayCharsOfLines);

                InputAndOutput.WriteLineInFile(dataList, ReformatedFile);

                List <string> nameList = NameListFromFile(arrayCharsOfLines);

                for (int i = 0; i < nameList.Count; i++)
                {
                    List <string> nameAndHoursList = NameAndHoursToString(arrayCharsOfLines, dataList, nameList[i]);

                    InputAndOutput.WriteLineInFile(nameAndHoursList, ReformatedFile);
                }
            }
        }