def get_tsv_headers(path: str) ->list:
    """helper function to get tsv file headers.
    """
    fd = open(path, 'r')
    headers = fd.readline().replace('\n', '').split('\t')
    fd.close()
    return headers
