Replaced all code which iterated through files/folders.