Added initialization from file code