def export_txt(d, file_name, split_by='\t'):
    """ Upload data (dict) to text file with default split ="	"

    parameters:
    d (dictionary): data to be exported
    file_name (str): The path to a text file (string or raw string)
    split_by (str): The text file delimiter

    returns:
    text file: dict data uploaded as text file format
    """
    with open(file_name, 'w') as fin:
        for key, value in d.items():
            fin.write(key + split_by)
            x = 0
            while x < len(value) - 1:
                fin.write(value[x] + split_by)
                x += 1
            fin.write(value[len(value) - 1] + '\n')
