readFromFile version