move data to directory