Fixes patterns for Specification.files attribute