Revert "scan directories recursively; also enable .osb scan"

This reverts commit d21370fa527087ca0b3c554bff60e1e766e49d67.