adding of a method for model creation given a filename in the factories