LPS-33904 Make replaces for security-manager-files-* easier to maintain by breaking the replace into two steps