Work on file upload.