flatten folder structure