code: public void write(String filename)
  	{
  		try
  		{
  			write(new FileOutputStream(filename));
  		}
  		catch (FileNotFoundException e)
  		{
  			e.printStackTrace();
  		}
  	}
docs: Dumps data to the given file.
  
  @param filename output file name