Some work done to renderFolder(), not yet functional.