@SuppressWarnings("unchecked")
    public static HashMap<String, ArrayList<String>> load(String path) {
        Object result = null;
        BufferedReader br = null;
        try {
            br = new BufferedReader(new FileReader(path));
        } catch (FileNotFoundException e1) {
            e1.printStackTrace();
        }

        try {
            if (br.readLine() == null) {
                result = new HashMap<String, ArrayList<String>>();
            } else {
                try {

                    ObjectInputStream ois = new ObjectInputStream(
                            new FileInputStream(path));
                    result = ois.readObject();
                    ois.close();

                } catch (Exception e) {
                    e.printStackTrace();
                }

            }
        } catch (IOException e) {
            e.printStackTrace();
        }
        try {
            br.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
        return (HashMap<String, ArrayList<String>>) result;

    }