Resource files refactoring