private ParsedActivity GetActivityFromFolder(string folder)
        {
            var files = Directory.GetFiles(folder);

            var activityFile = files.SingleOrDefault(x => Path.GetExtension(x) == ".act");

            using (var reader = new ActivityFileReader(activityFile))
            {
                var activity = reader.LoadActivity();
                activity.FolderLocation = folder;
                return activity;
            }
        }
        private ParsedActivity GetActivityFromFolder(string folder)
        {
            var files = Directory.GetFiles(folder);

            var activityFile = files.SingleOrDefault(x => Path.GetExtension(x) == ".act");

            using (var reader = new ActivityFileReader(activityFile))
            {
                var activity = reader.LoadActivity();
                activity.FolderLocation = folder;
                return(activity);
            }
        }