public bool LoadData(List <string> args = null)
        {
            List <string> filenames = new List <string>();


            // If no cmd line provided, ask
            if (args == null)
            {
                // Make list of things for OFD to show as title
                List <string> names = new List <string>();
                names.Add("Select Map file");
                names.Add("Select Tests file");
                names.Add("Select Soln File");

                // Display ofd and load files
                for (int i = 0; i < 3; i++)
                {
                    using (OpenFileDialog ofd = new OpenFileDialog())
                    {
                        ofd.Title = names[i];
                        if (ofd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                        {
                            filenames.Add(ofd.FileName);
                        }
                        else
                        {
                            return(false);
                        }
                    }
                }
            }
            else
            {
                filenames.AddRange(args);
            }

            if (filenames.Count == 3)
            {
                MainData = new MainDataStructure(filenames[0], filenames[1], filenames[2]);
                return(true);
            }
            return(false);
        }
        public bool LoadData(List<string> args = null)
        {
            List<string> filenames = new List<string>();

            // If no cmd line provided, ask
            if (args == null)
            {
                // Make list of things for OFD to show as title
                List<string> names = new List<string>();
                names.Add("Select Map file");
                names.Add("Select Tests file");
                names.Add("Select Soln File");

                // Display ofd and load files
                for (int i = 0; i < 3; i++)
                {
                    using (OpenFileDialog ofd = new OpenFileDialog())
                    {
                        ofd.Title = names[i];
                        if (ofd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                            filenames.Add(ofd.FileName);
                        else
                            return false;
                    }
                }
            }
            else
                filenames.AddRange(args);

            if (filenames.Count == 3)
            {
                MainData = new MainDataStructure(filenames[0], filenames[1], filenames[2]);
                return true;
            }
            return false;
        }