try { rsnamefos = new FileOutputStream("rsnamefos.tmp"); } catch (FileNotFoundException e) { system.err.println("FileNotFoundException"); }