Iterate all files under a directory