iterate folder to render head