moving to flat directory