question: private void replaceFile ( String file , String body ) throws IOException { try ( OutputStream out = new BufferedOutputStream ( new FileOutputStream ( file ) ) ) { out . write ( body . getBytes ( ) ) ; } }
target:  Replaces file with given body.