Add fileupload functionality.