Directory check is added in the real time part.