modified read log file