reverted getFolder