public void InsertFile(string filepath, int max)
            {
                _Parent.InsertFile(filepath, max);

                // now we add it to the shell's jump list
                var jtask = new System.Windows.Shell.JumpTask()
                {
                    Title = System.IO.Path.GetFileName(filepath),

                    ApplicationPath = System.Reflection.Assembly.GetEntryAssembly().Location
                };

                jtask.IconResourcePath = jtask.ApplicationPath;

                if (filepath.ContainsWhiteSpaces())
                {
                    filepath = filepath.Wrap('"');
                }

                jtask.Arguments = filepath;

                System.Windows.Shell.JumpList.AddToRecentCategory(jtask);
            }
 internal void AddFilenameToRecent(string filepath)
 {
     Persister.InsertFile(filepath);
     LoadRecent();
 }