def get_filename_using_tk():
    """Choose a filename using Tk"""
    import tkinter as tk
    root = tk.Tk()
    root.withdraw()
    fname = tk.filedialog.askopenfilename(filetypes=[('TSV', '*.tsv')])
    print('Selected file {}'.format(fname))
    return fname
