modify getStringFromFile funciton