Open / Save / Export from RhinoApp.RunScript in Rhinocommon

Hi @ChristopherBotha this is my core, you cant try it:

namespace Import
{
  //you must have this
  [
  System.Runtime.InteropServices.Guid("81cfa536-5e0e-47e5-9665-f644c237e362"),
  Rhino.Commands.CommandStyle(Rhino.Commands.Style.ScriptRunner)
  ] 

  public class ImportCommand : Command
  {
      public ImportCommand()
      {
          Instance = this;
      }
      public static ImportCommand Instance
      {
          get;
          private set;
      }
      public override string EnglishName
      {
          get { return "Import"; }
      }
      protected override Result RunCommand(RhinoDoc doc, RunMode mode)
      {
         string filename = @"D:\\temp\\test.3dm";
         RhinoApp.RunScript(String.Format("_-Import {0}", filename), false);
         return Result.Success;
      }
   }
}