add read file done flg

performance improve