Go to Site > Media Library. Click the pencil icon under Title to rename the file.
Type the new title and click "✅" to save the changes, or click "❎" to discard them.
You can change the title of the file by clicking on the pencil button under the Actions also.
Also, watch the video on 'Renaming Our Media'