Making selection indicator work for files too.

The old folder-only behaviour was no longer relevant.