added readFromFile method stub