Persist folders to firebase