use a data directory