Refactor LocalItemsFile.xml