def import_dg_updates(file_path='/Users/reedd/Documents/projects/PaleoCore/projects/mlp/data_cleaining_170412/DG_updates.txt'):
    """
    Function to read data from a delimited text file
    :return: list of header values, list of row data lists
    """
    dbfile = open(file_path)
    data = dbfile.readlines()
    dbfile.close()
    data_list = []
    header_list = data[0][:-1].split('\t')  # list of column headers
    # populate data list
    for row in data[1:]:  # skip header row
        data_list.append(row[:-1].split('\t'))  # remove newlines and split by delimiter
        #data_list.append(row.split('\t'))  # remove newlines and split by delimiter
    print('Importing data from {}'.format(file_path))
    return header_list, data_list