changed req.files to req.file