private void readTextInput (String fileName) {
        try {
            Entry newEntry;
            
            FileReader fin = new FileReader(fileName);
            BufferedReader br = new BufferedReader(fin);
            
            String currentLine = br.readLine();
            String entryText = "", entryDate = "";
            
            while (currentLine != null) {
                if (currentLine.equals("-----")) {                    
                    entryText = "";                    
                    currentLine = br.readLine();
                    entryDate = currentLine;
                } else {
                    currentLine = br.readLine();
                    
                    if (currentLine == null || currentLine.equals("-----")) {
                        newEntry = new Entry(entryDate, entryText);
                        map.put(entryDate, newEntry);                        
                    } else {
                        if (entryText.equals("")) {
                            entryText += currentLine;
                        } else {
                            entryText += " " + currentLine;
                        }
                    }
                }
            }
        } catch (Exception e) {
            System.err.println("Unable to parse \"" + fileName + "\"");
            e.printStackTrace();
        }
    }