public long GetLastSerialNumber()
        {
            var reverseStream = new ReverseLineReader(_config["INVENTORY_PATH"]);
            var last          = ReturnSerialNumberFromLastLine(reverseStream);

            reverseStream.Close();
            return(last);
        }
 private static long ReturnSerialNumberFromLastLine(ReverseLineReader reverseStream)
 {
     return(long.Parse(reverseStream.Take(1).First().Split(",")[0]));
 }