Not rewinding iterator caused bad things.
Removed obsolete file.instantiate events.