public void loadSingleImage(String fnm) throws ConfigException {
        String name;
        if(VectorWorld.DEBUG_LOAD_IMG) {
            System.out.println("Loading image from file: " +
                    IMAGE_DIR + fnm);
        }
        try {
            name = getPrefix(fnm);
        } catch (FileNameException e) {
            throw new ConfigException("Could not get the image from the file: "
                    + fnm + "\n" + e);
        }
        if (imagesMap.containsKey(name)) {
            throw new ConfigException("Image has already been loaded: "
                    + fnm);
        }
        try {
            BufferedImage bi = loadImage(fnm);
            imagesMap.put(name, bi);
            System.out.println("Loaded image " + name);
        } catch (IOException ex) {
            throw new ConfigException(ex);
        }

    }