How to read the tet from the file and store it in a variable and then use for sentiment analysis using hugging face library

how to read the text from the file and store it in a variable and then use it for sentiment analysis using the hugging face library.
I have tried using read file operation also mounted the drive and given the path where the data file is stored but still, there s an issue.

sample code error