def METHOD_NAME(nzb_name, nzb_string):
    """
    Save NZB to disk
    :param nzb_name: Filename/path to write to
    :param nzb_string: Content to write in file
    """
    try:
        with open(nzb_name + ".nzb", "w", encoding="utf-8") as nzb_fh:
            nzb_fh.write(nzb_string)
    except EnvironmentError as error:
        logger.exception(f"Unable to save NZB: {error}")