public static HashMap<Integer, String> getNumericalAndNumericalUnderscoreFilenames_HashMap(
            File directory,
            String underscore) {
        HashMap<Integer, String> result = new HashMap<Integer, String>();
        int index = 0;
        String[] list = directory.list();
        int count = 0;
        String filename;
        String[] split;
        for (int i = 0; i < list.length; i++) {
            filename = list[i];
            if (filename.contains(underscore)) {
                split = filename.split("_");
                if (split.length <= 2) {
                    long start;
                    try {
                        start = new Long(split[0]).longValue();
                        if (split.length == 2) {
                            new Long(split[1]).longValue();
                        }
                        count++;
                        result.put(
                                index,
                                filename);
                        index++;
                    } catch (NumberFormatException a_NumberFormatException) {
                        // Ignore
                    }
                }
            } else {
                try {
                    long name = new Long(filename);
                    result.put(
                            index,
                            filename);
                    index++;
                } catch (NumberFormatException a_NumberFormatException) {
                    // Ignore
                }
            }
        }
        return result;
    }