rename( ) example
The following example changes the name of a file in the current directory to something else:
new File( ).rename( "AFILE", "SOMETHING" )