LastModifiedFiles takes pattern, Cache uses SHA1.