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);
 });'/upload', function (req, res) {
<form action="/upload" method="post" enctype="multipart/form-data">
 <input type="file" name="file1" multiple="multiple" />
 <input type="submit" />

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