don't emit end event after first file