Are those the only folders to clean up? How about ATM, and other service? I would suggest we either centralize the resource folder so that we only delete the root, or you have a loop here to look for one level deeper with "resources" and delete it. W/o doing that, every time a new service gets on board, we need to keep in mind to modify this file