improve file_upload.

Signed-off-by: jack <jack.wgm@gmail.com>