Express’s bodyParser cannot be parsed?

  node.js, question

The output req.files is undefined and req.body is {}. why is this? Thank you

var express = require('express');
 var bodyParser = require('body-parser');
 var fs =require('fs');
 var server = express();
 server.use(bodyParser.json()).use(bodyParser.urlencoded({ extended: true }));
 server.get('/', function (req, res) {
 res.writeHead(200, {'Content-Type': 'text/html'});
 Fs.createReadStream(__dirname plus' /static.html').pipe(res);
 });
 server.post('/upload', function (req, res) {
 console.log(req.files);
 console.log(req.body);
 });
 server.listen(3003);
<form action="/upload" method="post" enctype="multipart/form-data">
 <input type="file" name="file1" multiple="multiple" />
 <input type="submit" />
 </form>

bodyParserIt’s not for file upload, you have to use it.multer.