tick emitter and read file condition