refactors Folders