Is it possible to open a revit model via Rhino Inside?

Do you, or somebody else, by any chance have a script that would also close files? I need to stroll through many models to export some data and your file-opening script makes it easier. However, I need to close them also because I quickly clog the Revit with all those models opened in the background.