def join_strings(input_list, delimiter=' '):
    """Open file and retrieve a dictionary of data.

    :param input_list: List of values to join.
    :type input_list: list
    :param delimiter: Delimiter used between values.
    :type delimiter: str
    :returns: Concatenated values, excluding all None and '' values.
    :rtype: str
    """
    concat_list = []
    for value in input_list:
        if value is not None and value != '':
            concat_list.append(value)
    if len(concat_list) > 0:
        string = delimiter.join(concat_list)
    else:
        string = ''
    return string
