public void moveTorrentFile(File new_parent_dir) throws DownloadManagerException {
this.moveTorrentFile(new_parent_dir, null);
}
public void moveTorrentFile(File new_parent_dir, String new_name) throws DownloadManagerException {
SaveLocationChange slc = new SaveLocationChange();
slc.torrent_location = new_parent_dir;
slc.torrent_name = new_name;
File torrent_file_now = new File(getTorrentFileName());
if (!slc.isDifferentTorrentLocation(torrent_file_now)) {return;}
boolean is_paused = this.pause();
try {moveTorrentFile0(new_parent_dir, new_name);}
finally {if (is_paused) {this.resume();}}
}