extracted uploader_read_options and uploader_write_options methods