better level order
ignore public folder and other files