String filename = file.getCanonicalPath();
if(!filename.substring(filename.length() - 4, filename.length()).equalsIgnoreCase(".nzb"))
continue;
// yes, so add it to the download queue
final NzbParser newParser = new NzbParser(file.getAbsolutePath(), mainApp.getPrefValue("GeneralSettingsDownloadDir"));
logger.msg("Loading new NZB file from auto-load directory: " + filename, MyLogger.SEV_INFO);
EventQueue.invokeLater(new Runnable()
{
public void run()
{