Only index regular files. Cope with missing read permission.