Added openModel method which does not require the size of the
stream/data