docs: reflected the upload_file() interface