# Cannot see new file name during upload

**URL:** <https://community.transloadit.com/t/cannot-see-new-file-name-during-upload/16158>\
**Category:** Uppy\
**Created:** [July 18, 2022, 11:02pm UTC](https://community.transloadit.com/t/cannot-see-new-file-name-during-upload/16158 "2022-07-18T23:02:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![warrenkc](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/warrenkc/32/109_2.png) [@warrenkc](https://community.transloadit.com/u/warrenkc)\
**Post date:** [July 18, 2022, 11:02pm UTC](https://community.transloadit.com/t/cannot-see-new-file-name-during-upload/16158/1 "2022-07-18T23:02:27Z")

</div>

I am using this code to modify the file name before upload:

```auto
onBeforeFileAdded: (currentFile, files) => {
        const modifiedFile = {
            ...currentFile,
            name: `${currentFile.name}__${Date.now()}`,
        }
        return modifiedFile

```

Using this I can see that the filenames have indeed been updated.

```auto
    onBeforeUpload: (files) => {
        console.log('updated files', files) // files here have `new-name` and empty `data`
    },

```

However in the XHR request I cannot see the new names anywhere? How can I see the modified names for the files on the server?
