code: public static File addFileExtension(File file, String extension) {
  		return new File(file.getAbsolutePath() + "." + extension);
  	}
docs: Add a the file extension to the file
  
  @param file
  file
  @param extension
  file extension
  @return new file with extension
  @since 3.0.2