docs: public static boolean renameFile(final File fileToRename, final File newFileName,
  		final boolean delete) throws IOException, FileIsADirectoryException
  	{
  		boolean success = fileToRename.renameTo(newFileName);
  		if (!success)
  		{
  			if (delete)
  			{
  				CopyFileExtensions.copyFile(fileToRename, newFileName);
  				DeleteFileExtensions.delete(fileToRename);
  				success = true;
  			}
  		}
  		return success;
  	}