So basically I am iterating through a directory recursively but it contains huge number of files.
Two methods I have but I have a problem with each.
1s