code: public static void setFileData(final File file, final byte[] fileData, final String contentType) throws FrameworkException, IOException {
  		FileHelper.setFileData(file, fileData, contentType, true);
  	}
docs: Write image data from the given byte[] to the given file node and set checksum and size.
  
  @param file
  @param fileData
  @param contentType if null, try to auto-detect content type
  @param updateMetadata
  @throws FrameworkException
  @throws IOException