remove fileconfigs
exclude . & .. from dir iteration