def readTranscript(file_name):
    """
    Retrieve the contents of the transcript file.

    Parameters
    ----------
    file_name : str
        The path to the transcript file.
    Returns
    -------
    text_to_read : list
        Lines from the transcript file.
    """
    try:
        with open(file_name, 'r', encoding='utf-8') as f:
            text_to_read = f.read()
        if text_to_read != '':
            return text_to_read
        else:
            return 'No transcript file found.'
    except IOError:
        return 'No transcript file found.'
