"renameFile"(pathname, newPathname, overwrite=FALSE, ..., verbose=FALSE)file.path(newPathname, basename(pathname)).TRUE and there exists a file with new pathname,
   then it is overwritten.Verbose.TRUE if the file was successfully renamed.
  If it failed, an exception is thrown.
file.rename().