private boolean openWorkspace(File openFile){
        WorkspaceData openData;

        try{
            FileInputStream inputStream = new FileInputStream(openFile);
            ObjectInputStream objectInputStream = new ObjectInputStream(inputStream);
            openData = (WorkspaceData) objectInputStream.readObject();
            objectInputStream.close();

//            setArrayDataBase(openData.getArraysDataBase());

//            setDataArrays(openData.getArraysDataBase());
            Main.setStructureBase(openData.getArraysDataBase());
//            setDataBase(openData.getFileDataBase());
            setDataBase();
            setListDataOut(openData.getListDataOut());
            return true;

        } catch(Exception ex){
            return false;
        }
    }