Split the storage engine into the file and resource managers.