You can rename a file by moving it to the new name that you wish to have. See the example below.

mv somefilename somenewfilename