code: protected static void renameFile(@Nonnull final File from, @Nonnull final File to) {
  		Check.notNull(from, "from");
  		Check.stateIsTrue(from.exists(), "Argument 'from' must not be an existing file.");
  		Check.notNull(to, "to");
  		Check.stateIsTrue(from.renameTo(to), "Renaming file from '%s' to '%s' failed.", from.getAbsolutePath(), to.getAbsolutePath());
  	}
docs: Renames the given file {@code from} to the new file {@code to}.
  
  @param from
  an existing file
  @param to
  a new file
  
  @throws net.sf.qualitycheck.exception.IllegalNullArgumentException
  if one of the given arguments is {@code null}
  @throws net.sf.qualitycheck.exception.IllegalStateOfArgumentException
  if the file can not be renamed