ENH: Root directory is now saved in resource file