coreAPI: file, remove root folder