Globally replace renamed files

All instances of a file should be replaced, not just the first.