private void deleteFile_fileManagerButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_deleteFile_fileManagerButtonActionPerformed
        try {
            selectedDevice.getFileSystem().delete(directoryLabel_fileManagerLabel.getText() + jList1.getSelectedValue());
        } catch (IOException | DeleteFailedException ex) {
            logger.log(Level.ERROR, "An error occurred while deleting a file (" + jList1.getSelectedValue() + ") on device " + selectedDevice.getSerial() + "\n"
                    + "The error stack trace will be printed to the console...");
            ex.printStackTrace(System.err);
        }
    }//GEN-LAST:event_deleteFile_fileManagerButtonActionPerformed