modified: constructor - from_file