simplify definition/creation of data directories