'Export Zone object to the BIND compatible format and write result to a
file.
:param zone: Zone to export.
:type  zone: :class:`Zone`
:param file_path: File path where the output will be saved.
:type  file_path: ``str``'

def export_zone_to_bind_zone_file(self, zone, file_path):

    result = self.export_zone_to_bind_format(zone=zone)
    with open(file_path, 'w') as fp:
        fp.write(result)
