public ReportLog()
{
    byte[] uncompBytes;

    using (var file = File.OpenRead(path))
    using (var compStrm = new GZipStream(file, CompressionMode.Decompress))
    {
        uncompBytes = new byte[file.Length];

        var strm = new MemoryStream();

        compStrm.CopyTo(strm);

        strm.Read(uncompBytes, 0, (int)compStrm.Length);
    }

    log = Newtonsoft.Json.JsonConvert.DeserializeObject<List<LogItem>>(Encoding.UTF8.GetString(uncompBytes));

    if (log == null)
    {
        log = new List<LogItem>();
    }

    GlobalInfo.PostsCaught += log.Count;

    writer = new Thread(UpdateLog);
    writer.Start();
}