edit method readTextFromFile from class ContentAnalysis