add function to read sentiment scores from text file