code: public static boolean renameFile(final File fileToRename, final File newFileName)
  		throws IOException, FileIsADirectoryException
  	{
  		return renameFile(fileToRename, newFileName, false);
  	}
docs: This method renames a given file. For instance if we have a file which we want to rename with
  the path "/tmp/test.dat" to "/tmp/renamed.dat" then you call the method as follow:
  renameFile(new File("C://tmp//test.dat"), new File("C://tmp//renamed.dat"));
  
  @param fileToRename
  The file to rename.
  @param newFileName
  The new name from the file.
  @return 's true if the file was renamed otherwise false.
  @throws IOException
  Signals that an I/O exception has occurred.
  @throws FileIsADirectoryException
  the file is A directory exception