split data dir into final and local