private void loadFileData(String fileName) {
        // if the file does not exist,
        // create it.
        File f = new File(fileName);
        try {
            if (f.createNewFile()) {
                return;
            }
        } catch(Exception e) {
            e.printStackTrace();
            return;
        }

        Scanner inscan = null;
        try {
            inscan = new Scanner(f);
            String tmp = null;
            String[] fileVals = null;
            HexString hex = new HexString();
            FileRecord tmpRecord = null;
            while(inscan.hasNextLine()) {
                tmp = inscan.nextLine();
                fileVals = tmp.split("[,]");
                tmpRecord = new FileRecord(fileVals[0], fileVals[1], hex.toByteArray(fileVals[2]));
                fileData.put(fileVals[0], tmpRecord);
            }
        } catch(Exception e) {
            e.printStackTrace();
        }
    }