def build_par_string(parameters, delimiter='\t'):
    """Build the string to write out

    Args:
        parameters (dict)
        delimiter (str): delimiter to separate lines by

    Returns:
        str
    """

    output = ''

    for key, value in parameters.items():

        output += '{key}{delimiter}{value}\n'.format(
            key=key,
            delimiter=delimiter,
            value=value
        )

    return output