code: def write_file(response, destination_folder, file_name):
          
          if response.status_code == 200:
              with open(os.path.join(destination_folder, file_name), 'wb') as f:
                  for chunk in response.iter_content(chunk_size=None):
                      f.write(chunk)
              logger.info(f'Saved downloaded file in {f.name}')
          else:
              logger.warning(f'consume failed: {response.reason}')
docs: Write the response content in a file in the destination folder.
          :param response: Response
          :param destination_folder: Destination folder, string
          :param file_name: File name, string
          :return: bool