getting filename of formdata after axios request

const express = require('express');
const multer = require('multer');

const app = express();
const upload = multer();

function uploadFile(req, res, next) {
    console.log(req.file.originalname);
    res.json({ok: true}).end();
}

app.post('/', upload.single('wavfile'), uploadFile);

app.listen(3001);