You can rename a file from the File tab of the Send menu.
Rename File
1. Select a file in the Files tab of the Send menu.
2. Tap (⋮) ellipsis icon in the upper right corner.
3. Tap Rename in the bottom menu.
4. Enter a name for the file.
5. Tap OK.