private void pullFile_fileManagerButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_pullFile_fileManagerButtonActionPerformed
        String location = directoryLabel_fileManagerLabel.getText();
        String name = (String) jList1.getSelectedValue();
        boolean pullDir = false;
        File localLocation = null;
        
        if (name == null || name.equals("") || name.equals("./"))
            pullDir = true;
        
        JFileChooser fileChooser = new JFileChooser();
        fileChooser.setDialogTitle(parser.parse("fileManager:pullFileDialogTitle"));
        fileChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
        fileChooser.setMultiSelectionEnabled(false);
        int result = fileChooser.showOpenDialog(this);
        if (result == JOptionPane.OK_OPTION)
            localLocation = fileChooser.getSelectedFile();
        else return;
        
        try {
            logger.log(Level.INFO, "ADB Output: " + selectedDevice.getFileSystem().pull((location + name), localLocation));
        } catch (IOException ex) {
            logger.log(Level.ERROR, "An error occurred while pulling a file from the device " + selectedDevice.getSerial() + ": " + ex.toString() + "\n"
                    + "The error stack trace will be printed to the console...");
            ex.printStackTrace(System.err);
        }
    }//GEN-LAST:event_pullFile_fileManagerButtonActionPerformed