public static void deserializeSavedConnections() {
        FileInputStream fis;
        ObjectInputStream in;
        try {
            fis = new FileInputStream("servers.ser");
            in = new ObjectInputStream(fis);
            savedConnections = (ArrayList<SavedConnection>) in.readObject();
        } catch (IOException | ClassNotFoundException ex) {
            System.out.println("Deserialization exception");
        }
    }