Use separate xml file to keep track of data dir.