[REFACT] In DataDirEntryWrapper: getDataDir made non static