fixed fromFile