Modified the constructor to try to read the models streaming and then as a File.