scan subdir opt