* @param file
   */
  public static void saveModule(Stella_Object name, String file) {
    { Module module = Stella_Object.coerceToModule(name, true);

      if (module != null) {
        { OutputFileStream stream = null;

          try {
            stream = Stella.openOutputFile(file, Stella.NIL);
            Logic.doSaveModule(module, stream);

          } finally {
            if (stream != null) {
              stream.free();
            }
          }
        }
      }
    }
  }