Add supporting for getStringFromFile