change structure of resource files