Refactoring uris file.