} else if(returnType == ClientGetMessage.RETURN_TYPE_DISK) {
FileOutputStream fos;
try {
fos = new FileOutputStream(tempFile);
} catch (FileNotFoundException e) {
<BUG>ProtocolErrorMessage pm = new ProtocolErrorMessage(ProtocolErrorMessage.COULD_NOT_WRITE_FILE, false, null, identifier);

trySendDataFoundOrGetFailed(pm);
data.free();</BUG>
finish();

} else if(returnType == ClientGetMessage.RETURN_TYPE_DISK) {
FileOutputStream fos;
try {
fos = new FileOutputStream(tempFile);
} catch (FileNotFoundException e) {
postFetchProtocolErrorMessage = new ProtocolErrorMessage(ProtocolErrorMessage.COULD_NOT_WRITE_FILE, false, null, identifier);
trySendDataFoundOrGetFailed();
data.free();
finish();
