integrate uploading with storage functionality.