code: public static void writeByteArrayToFile(final String filename, final byte[] byteArray)
  		throws IOException
  	{
  		final File file = new File(filename);
  		writeByteArrayToFile(file, byteArray);
  	}
docs: Writes the given byte array to a file.
  
  @param filename
  The filename from the file.
  @param byteArray
  The byte array.
  @throws IOException
  Signals that an I/O exception has occurred.