added fileDetected option for logger doc