refactoring CachedFile -> Strings
test coverage