private void scanFile(String relativePath, File f, List<LessFileStatus> lstAddedLfs) {
		if (!f.isFile())
			throw new BugError("Bad file: " + f);
		if (!f.getName().endsWith(".less") || ignoredList.contains(f))
			return;
		String lfsKey = getPathAndBaseName(f);
		if (mapLessFileStatusByBaseName.containsKey(lfsKey))
			return; // already added
		File to = new File(f.getAbsolutePath().substring(0, f.getAbsolutePath().lastIndexOf(".less")) + ".css");
		LessFileStatus lfs = new LessFileStatus(this, f, to, relativePath, conf.getShowUpdatedFilesDays());
		mapLessFileStatusByBaseName.put(lfsKey, lfs);
		filesWatcher.addFile(f);
		filesWatcher.addFile(to);
		lstAddedLfs.add(lfs);
		if (!lfs.isUpToDate())
			compile(lfs);
	}