deleteModules
Deletes all the modules excepts those that get their name listed in keep.
Throws
if an error happened while deleting the modules.
Deletes all the modules excepts those that get their name listed in keep.
if an error happened while deleting the modules.