public static void LoadMCXFile(this Oms oms, string file) { MochaSnapshotObjectModel mcx = new MochaSnapshotObjectModel(); Document.Load(mcx, mcldf, new FileAccessor(file, false, false, true)); oms.LoadMCX(mcx); }