Updated getModel to a structure closest to the real and final thing. Can read dummy file