public VInstrument readInstrument()
    {
        VInstrument read = null;
        JFileChooser fileChosser = new JFileChooser();
        int option = fileChosser.showOpenDialog(VMainWindow.window);
        switch (option)
        {
            case JFileChooser.APPROVE_OPTION:
                try
                {
                    File target = fileChosser.getSelectedFile();
                    FileInputStream inputStream = new FileInputStream(target);
                    ObjectInputStream inputObject = new ObjectInputStream(inputStream);
                    read = (VInstrument) inputObject.readObject();
                    inputObject.close();
                    inputStream.close();
                }
                catch (ClassNotFoundException ex)
                {
                    ex.printStackTrace();
                }
                catch (FileNotFoundException ex)
                {
                    ex.printStackTrace();
                }
                catch (IOException ex)
                {
                    ex.printStackTrace();
                }
                finally
                {
                }
            break;
        }
        return read;
    }