flatten folder