More efficient globbing and filename matching.