def METHOD_NAME(dataset_name, conn, text_dir=TMPDIR):
    """fetch textfiles with strain vals if exists"""
    def __file_scanner__(text_dir, target_file):
        for file in os.listdir(text_dir):
            if file.startswith(f"ProbeSetFreezeId_{target_file}_"):
                return os.path.join(text_dir, file)
    with conn.cursor() as cursor:
        cursor.execute(
            'SELECT Id, FullName FROM ProbeSetFreeze WHERE Name = %s', (dataset_name,))
        results = cursor.fetchone()
    if results:
        try:
            # checks first for recently generated textfiles if not use gn1 datamatrix
            return __file_scanner__(text_dir, results[0]) or __file_scanner__(TEXTDIR, results[0])
        except Exception:
            pass