Added loadFromFile.