Allows data file location to be configured, defaults to config dir.