renaming files and updating namespaces