Refactor addFile in ViewHelper.
Add Strings::removeString().