private void scanDir(File dir, List<LessFileStatus> lstAddedLfs) {
		if (!dir.isDirectory())
			throw new BugError("Bad directory: " + dir);
		File[] subf = dir.listFiles();
		if (subf != null) {
			for (File f : subf) {
				if (f.isFile())
					scanFile(f.getName(), f, lstAddedLfs);
			}
		}
	}