Recognize files from excluded paths, not only directories.