code: private synchronized void prepareFile() throws IOException{
  		outputFile = new File(getFileName());
  		if(outputFile.exists()) 
  			outputFile.delete();
  		if(outputFile.isDirectory())
  			throw new IOException("I/O Error on creating file: File is a directory!");
  		outputFile.createNewFile();
  		if(!outputFile.canWrite())
  			throw new IOException("I/O Error on creating file: Unable to write into file!");
  	}
docs: Creates the output file on the file system.
  @throws IOException if the output file is a directory or not writable.