private bool ReadQuestionsFromFile() { try { string questionsStr = File.ReadAllText(jsonFilePath); if (questionsStr != null && !(questionsStr.Equals(""))) { var result = JSONProcess.Read(jsonFilePath); if (result != null) { questions = result; } } return(true); } catch (Exception ex) { MessageBox.Show(ex.ToString()); return(false); } }