Update folder structure.
Replace error event by fail.