public static HashMap<String, String> readSrgFile()
    {
        File srgFile = new File("notch-srg.srg");
        if (!srgFile.exists())
        {
            return null;
        }

        HashMap<String, String> mcClassMap = new HashMap<String, String>();
        try
        {
            BufferedReader reader = new BufferedReader(new FileReader(srgFile));
            String line;

            try
            {
                while ((line = reader.readLine()) != null)
                {
                    if (line.startsWith("CL: "))
                    {
                        String[] var4 = line.substring(line.indexOf(":") + 1).trim().split(" ");
                        mcClassMap.put(var4[1].replace("/", "."), var4[0]);
                    }
                    else if (line.startsWith("FD: "))
                    {
                        break;
                    }
                }
            }
            catch (IOException e)
            {
                e.printStackTrace();
            }
            reader.close();
        }
        catch (IOException e)
        {
            e.printStackTrace();
        }
        return mcClassMap;
    }