init from file