/// <summary>
        /// Reads List of Share
        /// </summary>
        /// <returns>returns shareList</returns>
        public static List <ShareList> ReadFromFile()
        {
            CommercialLinkedList <ShareList> sharedLinkedList = new CommercialLinkedList <ShareList>();

            if (File.Exists(@"C:\Users\Admin\source\repos\OOPSProgramming\OOPSProgramming\CommercialDataProcessing\StockAccount.json"))
            {
                string jsonData = File.ReadAllText(@"C:\Users\Admin\source\repos\OOPSProgramming\OOPSProgramming\CommercialDataProcessing\StockAccount.json");

                ////Getting List<CompanyShares> object from JsonFile.
                List <ShareList> jsonObjectArray = JsonConvert.DeserializeObject <List <ShareList> >(jsonData);

                ////Adding All the CompanyShares Object to CustomLinkedLsit.
                foreach (ShareList sl in jsonObjectArray)
                {
                    sharedLinkedList.AddNodeAtLast(sl);
                }

                return(jsonObjectArray);
            }
            else
            {
                Console.WriteLine("specified File path does not exists");
                return(new List <ShareList>());
            }
        }