Added file upload middleware.