code: public static Builder with(FileDetails template) {
  		return new Builder().formatName(template.getFormatName()).extension(template.getExtension()).mediaType(template.getMediaType()).properties(template.getProperties());
  	}
docs: Creates a new builder with the same details as the supplied file.
  @param template the details
  @return returns a new builder