removed warnings
added func for deleting model file