File wav = t.getFinishedFile();
if (lastFile != null && lastFile.getFinishedFile().equals(wav)) {
try {
File[] results = mergeFiles(lastFile.getRecordingID());
EventBus.publish(new RecordingCompleteEvent(results));
} catch (FileNotFoundException ex) {
Logger.getLogger(SplitAudioRecorderManager.class.getName()).log(Level.SEVERE, null, ex);
} catch (IOException ex) {
Logger.getLogger(SplitAudioRecorderManager.class.getName()).log(Level.SEVERE, null, ex);
}