throws IOException, ProtocolException, DatabaseException {
File envDir = feederManager.getEnvImpl().getEnvironmentHome();
try {
while (true) {
FileReq fileReq = protocol.read(namedChannel.getChannel(),
FileReq.class);
final String fileName = fileReq.getFileName();
File file = new File(envDir, fileName);
if (!file.exists()) {
throw EnvironmentFailureException.unexpectedState
("Log file not found: " + fileName);
}