public static HashMap<String, ItemMold> loadItems(){
        HashMap<String, ItemMold> terrainMap = new HashMap();
        try{
            // Open the file that is the first
            // command line parameter
            FileInputStream fstream = new FileInputStream("resources/configfiles/items.txt");
            // Get the object of DataInputStream
            DataInputStream in = new DataInputStream(fstream);
            BufferedReader br = new BufferedReader(new InputStreamReader(in));
            String newFeature = "dummy", currentLine, currentList[];
            //Read File Line By Line
            while ((currentLine = br.readLine()) != null)   {
                currentList = currentLine.split("=", 2);
                currentList[0] = currentList[0].trim();
                if (currentList[0].length() == 0){
                    continue;
                }
                switch((currentList[0].charAt(0))){
                    //looks messy, but basically we check the first character of the new line
                    case '#':
                        continue;
                    case '[':
                        newFeature = currentList[0].substring(1, currentList[0].length() - 1);
                        terrainMap.put(newFeature, new ItemMold());
                        //System.out.println(terrainMap.get(newFeature).getName());
                        continue;
                    default:
                        if (currentList.length == 2){
                            currentList[1] = currentList[1].trim().toLowerCase();
                            terrainMap.get(newFeature).enterData(currentList);
                        }
                }

            }
            //Close the input stream
            in.close();
        }catch (Exception e){//Catch exception if any
            System.err.println("Error: " + e.getMessage());
        }


        return terrainMap;

    }