private List<File> listFilesForFolder(final File folder) {
		List<File> ret = new ArrayList<File>();
		if (folder.listFiles() == null) {
			if (processTrayIcon != null){
				processTrayIcon.displayMessage("Connection Error Message", "Could not find folder " + folder,
						TrayIcon.MessageType.ERROR);
				return null;
			}
			return ret;
		}
		for (final File fileEntry : folder.listFiles()) {
			if (!fileEntry.isDirectory())
				ret.add(fileEntry);
		}
		return ret;
	}