Implemented better solution for streaming uploads