def get_filename(file_name_parts=None):
    """
    This routine creates the filename to be used to store the record.
    :param file_name_parts: file name parts
    :return: File Name to store the record
    """
    file_partial = ''
    if file_name_parts is not None:
        for part in file_name_parts:
            file_partial = file_partial + '_' + part
    output_file = 'record_' + file_partial + '.wav'
    return output_file