Model reader now supports reading from files