FileOutputStream rsnamefos = new FileOutputStream("rsnamefos.tmp"); ObjectOutputStream rsnameoos = new ObjectOutputStream(rsnamefos);