Fixed #10 add a fromFile initialization method