public void ClearHistory() { if (File.Exists(HistoryFileNameInternal)) { File.WriteAllText(HistoryFileNameInternal, ""); } }