private void handleTorrentRequest(String arg) { LOG.trace("enter handleTorrentRequest"); ActivityCallback callback = restoreApplication(); File torrentFile = new File(arg.trim()); callback.handleTorrent(torrentFile); }