public BuildHistory(BuildContext context, string historyPath)
{
this.context = context;
path = historyPath;
if (File.Exists(historyPath))
history = JsonConvert.DeserializeObject<ConcurrentDictionary<string, HistoryEntry>>(File.ReadAllText(historyPath));
else
history = new ConcurrentDictionary<string, HistoryEntry>();
}