{"action":"opened","issue":{"url":"https://api.github.com/repos/felixge/node-formidable/issues/325","labels_url":"https://api.github.com/repos/felixge/node-formidable/issues/325/labels{/name}","comments_url":"https://api.github.com/repos/felixge/node-formidable/issues/325/comments","events_url":"https://api.github.com/repos/felixge/node-formidable/issues/325/events","html_url":"https://github.com/felixge/node-formidable/issues/325","id":54820956,"number":325,"title":"[feature] Add file.newname or something like that","user":{"login":"xeryan","id":2255291,"avatar_url":"https://avatars.githubusercontent.com/u/2255291?v=3","gravatar_id":"","url":"https://api.github.com/users/xeryan","html_url":"https://github.com/xeryan","followers_url":"https://api.github.com/users/xeryan/followers","following_url":"https://api.github.com/users/xeryan/following{/other_user}","gists_url":"https://api.github.com/users/xeryan/gists{/gist_id}","starred_url":"https://api.github.com/users/xeryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xeryan/subscriptions","organizations_url":"https://api.github.com/users/xeryan/orgs","repos_url":"https://api.github.com/users/xeryan/repos","events_url":"https://api.github.com/users/xeryan/events{/privacy}","received_events_url":"https://api.github.com/users/xeryan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-19T22:36:16Z","updated_at":"2015-01-19T22:36:16Z","closed_at":null,"body":"Currently, to get the renamed name of the file uploaded on disk, I have to do:\r\n```javascript\r\nvar pathSep = require(\"path\").sep,\r\n    newname = file.path.split(pathSep); //file is the object returned in form.on(\"file\")\r\n\r\nconsole.log(newname[newname.length-1]);\r\n```\r\nCan you add file.newname with this thing made by default ? Thank you"}}