Smarter scanning of individual files.